- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compile PHP-5.3.2 on HP-UX 11.23
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2010 09:04 AM
тАО03-26-2010 09:04 AM
Compile PHP-5.3.2 on HP-UX 11.23
----------------------------------------------
env CC=cc CFLAGS="+DD64 -I/usr/local/include" \
LDFLAGS="-L/usr/local/lib/hpux64" \
./configure \
--prefix=/opt/webhost/hpwpuxs/php-5.3.2 \
--with-libdir=lib/hpux64 \
--without-openssl \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-gd=/usr/local \
--with-iconv=/usr/local \
--with-zlib-dir=/usr/local \
--with-libxml-dir=/usr/local \
--with-config-file-path=/opt/webhost/hpwpuxs/php-5.3.2/conf \
--with-apxs2=/opt/webhost_sw/apache-2.0.58/bin/apxs \
--with-oci8=shared,instantclient,/u01/app/oracle/instantclient_11_1 \
2>&1 | tee configure.log
----------------------------------------------
The configure script completes, but gives these errors at the end:
----------------------------------------------
awk: Line static const char n cannot have more than 199 fields.
The input line number is 27. The file is ext/phar/stub.h.
The source line number is 1.
creating main/internal_functions_cli.c
awk: Line static const char n cannot have more than 199 fields.
The input line number is 27. The file is ext/phar/stub.h.
The source line number is 1.
----------------------------------------------
And make fails immediately.
I've attached configure.log and make.log to this message.
Please let me know what guidance you have.
Thanks.
- Tags:
- gawk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2010 11:45 AM
тАО03-26-2010 11:45 AM
Re: Compile PHP-5.3.2 on HP-UX 11.23
> awk: Line static const char n cannot have more than 199 fields
The HP-UX 'awk' variant has a limitation of only 199 fields. You could install 'gawk' which removes this limitation (and others).
http://hpux.connect.org.uk/hppd/hpux/Gnu/gawk-3.1.7/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2010 12:51 PM
тАО03-26-2010 12:51 PM
Re: Compile PHP-5.3.2 on HP-UX 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2010 01:33 PM
тАО03-27-2010 01:33 PM
Re: Compile PHP-5.3.2 on HP-UX 11.23
Make is now dying with a new error (several of them, actually).
ld: Unsatisfied symbol "apr_table_clear" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_get_server_version" in file sapi/apache2handler/.libs/php_functions.o
ld: Unsatisfied symbol "ap_add_version_component" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_set_last_modified" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_brigade_cleanup" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_bucket_eos_create" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_auth_type" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "unixd_config" in file sapi/apache2handler/.libs/php_functions.o
ld: Unsatisfied symbol "ap_rflush" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_destroy_sub_req" in file sapi/apache2handler/.libs/php_functions.o
ld: Unsatisfied symbol "ap_loaded_modules" in file sapi/apache2handler/.libs/php_functions.o
ld: Unsatisfied symbol "ap_set_content_length" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_pool_cleanup_null" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_add_cgi_vars" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_pool_userdata_get" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_pool_userdata_set" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_get_brigade" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_pool_cleanup_run" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_table_unset" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_hook_child_init" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_brigade_create" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_hook_pre_config" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_update_mtime" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_set_content_type" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_palloc" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_log_rerror" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_pool_cleanup_register" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_hook_post_config" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_mpm_query" in file sapi/apache2handler/.libs/php_functions.o
ld: Unsatisfied symbol "ap_add_common_vars" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_rwrite" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_table_set" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_server_root_relative" in file sapi/apache2handler/.libs/apache_config.o
ld: Unsatisfied symbol "ap_hook_handler" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_log_error" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_table_elts" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_pass_brigade" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: (Warning) Unsatisfied symbol "main" in file /usr/lib/hpux64/libc.so.1
ld: Unsatisfied symbol "apr_table_get" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_table_add" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "apr_brigade_flatten" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_server_root" in file sapi/apache2handler/.libs/php_functions.o
ld: Unsatisfied symbol "ap_sub_req_lookup_uri" in file sapi/apache2handler/.libs/php_functions.o
ld: Unsatisfied symbol "apr_snprintf" in file sapi/apache2handler/.libs/php_functions.o
ld: Unsatisfied symbol "apr_psprintf" in file sapi/apache2handler/.libs/sapi_apache2.o
ld: Unsatisfied symbol "ap_run_sub_req" in file sapi/apache2handler/.libs/php_functions.o
ld: Unsatisfied symbol "apr_pstrdup" in file sapi/apache2handler/.libs/sapi_apache2.o
1 warnings.
46 errors.
*** Error exit code 1
The reason I don't use the pre-ported one is that it doesn't include some of the things I need (support for Oracle being the main one).
-Kevin
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 02:19 AM
тАО03-28-2010 02:19 AM
Re: Compile PHP-5.3.2 on HP-UX 11.23
(This has nothing really to do with make, these are linker errors.)
ld: Unsatisfied symbol "apr_table_clear"
ld: Unsatisfied symbol "ap_get_server_version"
Where should these functions be defined? Can you search the sources or objects for those symbols?
nm -pxNA *.o | grep -e apr_table_clear -e ap_get_server_version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 07:07 AM
тАО03-28-2010 07:07 AM
Re: Compile PHP-5.3.2 on HP-UX 11.23
returns
nm: *.o: cannot open
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 08:26 AM
тАО03-28-2010 08:26 AM
Re: Compile PHP-5.3.2 on HP-UX 11.23
> nm: *.o: cannot open
Are you sure you changed to the directory that contains the object files?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 08:34 AM
тАО03-28-2010 08:34 AM
Re: Compile PHP-5.3.2 on HP-UX 11.23
cd sapi/apache2handler/.libs
nm -pxNA *.o | grep -e apr_table_clear -e ap_get_server_version
returns
0x0000000000000000 U php_functions.o:ap_get_server_version
0x0000000000000000 U sapi_apache2.o:apr_table_clear
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 12:49 PM
тАО03-28-2010 12:49 PM
Re: Compile PHP-5.3.2 on HP-UX 11.23
>U sapi_apache2.o:apr_table_clear
These are unsats, you need to find definitions. Are there more objects or archive or shared libs you can search?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2010 05:23 AM
тАО03-29-2010 05:23 AM
Re: Compile PHP-5.3.2 on HP-UX 11.23
Could these unsatisfied symbols have anything to do with the error that appears just above them?
Bundled) cc: warning 922: "-b" is unsupported in the bundled compiler, ignored.