cURL / Mailing Lists / curl-library / Single Mail

curl-library

How do I get a 64 bit program out of an Itanium HPUX compile for 7.47.1?

From: Tom Avery via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 27 Feb 2016 22:58:06 +0000 (UTC)

Hello dear cURL makers,

 
    I am working on a compile of your sourcefor Curl 7.47.1 to get a 64 bit version for HPUX Itanium for 11i.31

 
I must be missing something in what I am doing because italways comes back with an ELF32 executable.

 
Samples shown below.

 
# id

uid=0(root) gid=3(sys)groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)

 
(old version) from iexpress from HP.

 
# curl --version

curl 7.28.1 (ia64-hp-hpux11.31) libcurl/7.28.1OpenSSL/0.9.8n zlib/1.2.3

Protocols: dict file ftp ftps gopher http https imap imapspop3 pop3s rtsp smtp smtps telnet tftp

Features: IPv6 Largefile NTLM NTLM_WB SSL libz

 
# file curl

curl:         ELF-32 executable object file -IA64

#

 

 

 
(new version)  from https://curl.haxx.se/download.html

 
# pwd

/usr/local/bin

 
# ./curl --version

curl 7.47.1 (ia64-hp-hpux11.31) libcurl/7.47.1OpenSSL/0.9.8n zlib/1.2.3

Protocols: dict file ftp ftps gopher http https imap imapsldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp

Features: IPv6 Largefile NTLM NTLM_WB SSL libz UnixSockets

 
# file ./curl

./curl:         ELF-32 executable object file -IA64

#

 

 
My developers are telling me that it has to be 64 bit inorder for them to do their compiles with their apps.

 
Is it possible under this OS, maybe I am missing somethingeasy

 
Here is what I did:

 
as user

 
export LDOPTS="+s-L/usr/local/lib/hpux32 -L/usr/local/lib -L/usr/lib/hpux32 -L/usr/lib"

 
./configure

 
make

 
make check

 
as root

 
export LDOPTS="+s -L/usr/local/lib/hpux32-L/usr/local/lib -L/usr/lib/hpux32 -L/usr/lib"

 
make install

 

I changed the export above to the following and still no luck.
export LDOPTS="+s -L/usr/local/lib/hpux64 -L/usr/local/lib -L/usr/lib/hpux64 -L/usr/lib"

# pwd/home/averyts/develop/curl-7.47.1# ls -la /usr/local/bin/curl-rwxr-xr-x   1 root       sys         426000 Feb 27 14:39 /usr/local/bin/curl# cd /usr/local/bin# ./curl --versioncurl 7.47.1 (ia64-hp-hpux11.31) libcurl/7.47.1 OpenSSL/0.9.8nProtocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: IPv6 Largefile NTLM NTLM_WB SSL UnixSockets # file ./curl./curl:         ELF-32 executable object file - IA64# 

checking size of long... 4checking size of void*... 4checking for 64-bit curl_off_t data type... int64_tchecking size of curl_off_t... 8

# cat output.txt.configure | grep curl_config.hconfig.status: creating lib/curl_config.hconfig.status: lib/curl_config.h is unchanged# 
# cat configure | grep curl_config.hac_config_headers="$ac_config_headers lib/curl_config.h include/curl/curlbuild.h"    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine strerror_r() style: edit lib/curl_config.h manually." >&5$as_echo "$as_me: WARNING: cannot determine strerror_r() style: edit lib/curl_config.h manually." >&2;}    "lib/curl_config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/curl_config.h" ;;# 

I wasn’t quite clear on what I needed to do with the HPUXsection so I must have missed something

 
Any advice would be appreciated, as they are climbing on myback for their deadlines and I do like to take care of my developers.

 

Thank you.

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-02-28