Subject: [libssh2] [ libssh2-Bugs-1816964 ] c compiler cannot create executables on ./configure

[libssh2] [ libssh2-Bugs-1816964 ] c compiler cannot create executables on ./configure

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 21 Oct 2007 04:57:21 -0700

Bugs item #1816964, was opened at 2007-10-20 11:38
Message generated for change (Comment added) made by jehousley
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1816964&group_id=125852

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: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: c compiler cannot create executables on ./configure

Initial Comment:
I tried to configure it and got an error

sudo ./configure in /usr/src/libssh2-0.17 directory

...
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

in config.log, i found :

...
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:3077: $? = 0
configure:3084: gcc -V >&5
gcc: '-V' option must have argument
configure:3087: $? = 1
configure:3110: checking for C compiler default output file name
configure:3137: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status

...
configure: exit 77

thanks
Dan

----------------------------------------------------------------------

>Comment By: James Housley (jehousley)
Date: 2007-10-21 11:57

Message:
Logged In: YES
user_id=32239
Originator: NO

Originator found and fixed his problem.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2007-10-21 00:19

Message:
Logged In: NO

Ok I found couples of things missing...
I solved my problem with this :

sudo apt-get install build-essential
sudo aptitude install php5-dev php5-cli php-pear buid-essential
openssl-dev zlib1g-dev

thanks dottedmag

Dan

----------------------------------------------------------------------

Comment By: Mikhail Gusarov (dottedmag)
Date: 2007-10-20 11:43

Message:
Logged In: YES
user_id=1741325
Originator: NO

Seems to be a problem with your local setup. Please try to compile some
other software and see whether it works.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1816964&group_id=125852

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-10-21