Bugs item #3285399, was opened at 2011-04-12 19:06
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3285399&group_id=976
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: wrong behaviour
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Brent ()
Assigned to: Daniel Stenberg (bagder)
Summary: build fails on solaris x64
Initial Comment:
The `configure' script with curl-7.21.4 produced a Makefile with an extra "-L" at "-L-L/opt/sunstudio12.1/lib", causing the build to fail:
/bin/bash ../libtool --tag=CC --mode=link /opt/sunstudio12.1/bin/cc -xtarget=generic -m64 -xO4 -s -L/usr/lib/amd64 -L/opt/sunstudio12.1/lib -L/www/deps/lib -m64 -L/www/deps/lib -L/usr/lib/amd64 -L-L/opt/sunstudio12.1/lib -L/www/deps/lib -o libcurl.la -rpath /www/deps/lib -lssl -lcrypto -lldap -lrt -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lz -version-info 6:0:2 libcurl_la-file.lo libcurl_la-timeval.lo libcurl_la-base64.lo libcurl_la-hostip.lo libcurl_la-progress.lo libcurl_la-formdata.lo libcurl_la-cookie.lo libcurl_la-http.lo libcurl_la-sendf.lo libcurl_la-ftp.lo libcurl_la-url.lo libcurl_la-dict.lo libcurl_la-if2ip.lo libcurl_la-speedcheck.lo libcurl_la-ldap.lo libcurl_la-ssluse.lo libcurl_la-version.lo libcurl_la-getenv.lo libcurl_la-escape.lo libcurl_la-mprintf.lo libcurl_la-telnet.lo libcurl_la-netrc.lo libcurl_la-getinfo.lo libcurl_la-transfer.lo libcurl_la-strequal.lo libcurl_la-easy.lo libcurl_la-security.lo libcurl_la-krb4.lo libcurl_la-curl_fnmatch.lo libcurl_la-fileinfo.l
o libcurl_la-ftplistparser.lo libcurl_la-wildcard.lo libcurl_la-krb5.lo libcurl_la-memdebug.lo libcurl_la-http_chunks.lo libcurl_la-strtok.lo libcurl_la-connect.lo libcurl_la-llist.lo libcurl_la-hash.lo libcurl_la-multi.lo libcurl_la-content_encoding.lo libcurl_la-share.lo libcurl_la-http_digest.lo libcurl_la-md4.lo libcurl_la-md5.lo libcurl_la-curl_rand.lo libcurl_la-http_negotiate.lo libcurl_la-http_ntlm.lo libcurl_la-inet_pton.lo libcurl_la-strtoofft.lo libcurl_la-strerror.lo libcurl_la-hostares.lo libcurl_la-hostasyn.lo libcurl_la-hostip4.lo libcurl_la-hostip6.lo libcurl_la-hostsyn.lo libcurl_la-hostthre.lo libcurl_la-inet_ntop.lo libcurl_la-parsedate.lo libcurl_la-select.lo libcurl_la-gtls.lo libcurl_la-sslgen.lo libcurl_la-tftp.lo libcurl_la-splay.lo libcurl_la-strdup.lo libcurl_la-socks.lo libcurl_la-ssh.lo libcurl_la-nss.lo libcurl_la-qssl.lo libcurl_la-rawstr.lo libcurl_la-curl_addrinfo.lo libcurl_la-socks_gssapi.lo libcurl_la-socks_sspi.lo libcurl_la-curl_sspi.lo libcurl_la-slis
t.lo libcurl_la-nonblock.lo libcurl_la-curl_memrchr.lo libcurl_la-imap.lo libcurl_la-pop3.lo libcurl_la-smtp.lo libcurl_la-pingpong.lo libcurl_la-rtsp.lo libcurl_la-curl_threads.lo libcurl_la-warnless.lo libcurl_la-hmac.lo libcurl_la-polarssl.lo libcurl_la-curl_rtmp.lo libcurl_la-openldap.lo libcurl_la-curl_gethostname.lo libcurl_la-gopher.lo libcurl_la-axtls.lo libcurl_la-idn_win32.lo libcurl_la-http_negotiate_sspi.lo
../libtool: line 4983: cd: -/: invalid option
cd: usage: cd [-L|-P] [dir]
libtool: link: cannot determine absolute directory name of `-L/opt/sunstudio12.1/lib'
*** Error code 1
make: Fatal error: Command failed for target `libcurl.la'
Current working directory /opt/system/software/src/curl-7.21.4/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
--------------------------
Environment: Solaris 10 on Sun AMD x64
Ran configure with:
$ CC="/opt/sunstudio12.1/bin/cc" CFLAGS="-xtarget=generic -m64 -xO4" CXX="CC" CXXFLAGS="-xtarget=generic -m64 -xO4" LDFLAGS="-L/usr/lib/amd64 -L/opt/sunstudio12.1/lib -L/www/deps/lib -m64" ./configure --prefix=/www/deps --with-ssl=/www/deps --with-zlib=/www/deps
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Date: 2011-04-20 23:34
Message:
Thanks for reporting this issue and helping us improve curl and libcurl.
We're awaiting feedback in this issue. Due to this, I have set the state
of this issue to pending and it will automatically get closed later on
unless we get further info.
Please consider answering the outstanding questions or providing the
missing info so that we can proceed to resolve this issue!
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Date: 2011-04-12 22:01
Message:
is that extra -L what causes the "cd: -/: invalid option" output?
Anyway, can you check your config.log file after configure has run to see
if you can detect where that superfluous -L is added and why?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3285399&group_id=976
Received on 2011-04-20