Comments (3)
Try configuring with --verbose.
If you can't get curl working, configure with --no-ext=curl
On 04/06/2013, at 8:00, schnauzer [email protected] wrote:
I'm trying to install Slash on a Linux Mint system.
$ ./configure --with-lib-dir=/usr/lib/i386-linux-gnu/
CC environment variable not set, falling back to 'cc'...
Checking for cc... cc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Checking for flex... flex 2.5.35
Checking for libgmp... ok
Checking for libiconv... ok
Checking for libpcre... ok
Checking for a thread-safe time.h... ok
Checking for -march=native... ok
Checking for -flto... ok
Checking for __builtin_expect... ok
Checking for unistd.h... ok
Checking for -Wno-gnu... ok
Checking for computed goto... okConfiguring ext/base64
Configuring ext/curl
Checking for libcurl... failedCould not find libcurl (used -lcurl)
Please make sure it is available before building Slash
The directory /usr/lib/i386-linux-gnu/ contains:libcurl-gnutls.so.3
libcurl-gnutls.so.4
libcurl-gnutls.so.4.2.0
libcurl-nss.so.3
libcurl-nss.so.4
libcurl-nss.so.4.2.0
libcurl.so.3
libcurl.so.4
libcurl.so.4.2.0
I assume I'm doing something wrong. How can I get ./configure to detect libcurl?—
Reply to this email directly or view it on GitHub.
from slash.
$ ./configure --with-lib-dir=/usr/lib/i386-linux-gnu/ --verbose
CC environment variable not set, falling back to 'cc'...
Checking for cc... cc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Checking for flex... flex 2.5.35
Checking for libgmp... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -lgmp -o /tmp/UGAdskxcsc /tmp/UGAdskxcsc.c -lgmp 2>&1
ok
Checking for libiconv... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -liconv -o /tmp/sIntKXD1wF /tmp/sIntKXD1wF.c -liconv 2>&1
/usr/bin/ld: cannot find -liconv
/usr/bin/ld: cannot find -liconv
collect2: error: ld returned 1 exit status
% cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -o /tmp/B2YQvWl77q /tmp/B2YQvWl77q.c 2>&1
ok
Checking for libpcre... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -lpcre -o /tmp/Q_Z1aMIbQx /tmp/Q_Z1aMIbQx.c -lpcre 2>&1
ok
Checking for a thread-safe time.h... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -o /tmp/Huvcd5OZmn /tmp/Huvcd5OZmn.c 2>&1
ok
Checking for -march=native... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -o /tmp/UrDt3mKrQS /tmp/UrDt3mKrQS.c -march=native 2>&1
ok
Checking for -flto... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -o /tmp/t_sXzo4hxR /tmp/t_sXzo4hxR.c -flto 2>&1
ok
Checking for __builtin_expect... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -o /tmp/dW45Bruwro /tmp/dW45Bruwro.c 2>&1
ok
Checking for unistd.h... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -o /tmp/uGR__kleuT /tmp/uGR__kleuT.c 2>&1
ok
Checking for -Wno-gnu... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -DSL_HAS_UNISTD -Wno-gnu -o /tmp/_1pnZXUsB2 /tmp/_1pnZXUsB2.c -Wno-gnu 2>&1
ok
Checking for computed goto... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -DSL_HAS_UNISTD -Wno-gnu -o /tmp/W2IiFGR4Qt /tmp/W2IiFGR4Qt.c 2>&1
/tmp/W2IiFGR4Qt.c: In function ‘main’:
/tmp/W2IiFGR4Qt.c:1:41: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
/tmp/W2IiFGR4Qt.c: At top level:
cc1: warning: unrecognized command line option "-Wno-gnu" [enabled by default]
ok
Configuring ext/base64
Configuring ext/curl
Checking for libcurl... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -DSL_HAS_UNISTD -Wno-gnu -DSL_HAS_COMPUTED_GOTO -fPIC -lcurl -o /tmp/GFja8Yd7hm /tmp/GFja8Yd7hm.c -lcurl 2>&1
/tmp/GFja8Yd7hm.c:1:27: fatal error: curl/curl.h: No such file or directory
compilation terminated.
% cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -DSL_HAS_UNISTD -Wno-gnu -DSL_HAS_COMPUTED_GOTO -fPIC -o /tmp/us3ODCRJwt /tmp/us3ODCRJwt.c 2>&1
/tmp/us3ODCRJwt.c:1:27: fatal error: curl/curl.h: No such file or directory
compilation terminated.
failed
Could not find libcurl (used -lcurl)
Please make sure it is available before building Slash
from slash.
It looks like your system is missing curl/curl.h
On 04/06/2013, at 8:14, schnauzer [email protected] wrote:
$ ./configure --with-lib-dir=/usr/lib/i386-linux-gnu/ --verbose
CC environment variable not set, falling back to 'cc'...
Checking for cc... cc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Checking for flex... flex 2.5.35
Checking for libgmp... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -lgmp -o /tmp/UGAdskxcsc /tmp/UGAdskxcsc.c -lgmp 2>&1
ok
Checking for libiconv... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -liconv -o /tmp/sIntKXD1wF /tmp/sIntKXD1wF.c -liconv 2>&1
/usr/bin/ld: cannot find -liconv
/usr/bin/ld: cannot find -liconv
collect2: error: ld returned 1 exit status
% cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -o /tmp/B2YQvWl77q /tmp/B2YQvWl77q.c 2>&1
ok
Checking for libpcre... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -lpcre -o /tmp/Q_Z1aMIbQx /tmp/Q_Z1aMIbQx.c -lpcre 2>&1
ok
Checking for a thread-safe time.h... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -o /tmp/Huvcd5OZmn /tmp/Huvcd5OZmn.c 2>&1
ok
Checking for -march=native... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -o /tmp/UrDt3mKrQS /tmp/UrDt3mKrQS.c -march=native 2>&1
ok
Checking for -flto... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -o /tmp/t_sXzo4hxR /tmp/t_sXzo4hxR.c -flto 2>&1
ok
Checking for __builtin_expect... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -o /tmp/dW45Bruwro /tmp/dW45Bruwro.c 2>&1
ok
Checking for unistd.h... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -o /tmp/uGR__kleuT /tmp/uGR__kleuT.c 2>&1
ok
Checking for -Wno-gnu... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -DSL_HAS_UNISTD -Wno-gnu -o /tmp/_1pnZXUsB2 /tmp/_1pnZXUsB2.c -Wno-gnu 2>&1
ok
Checking for computed goto... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -DSL_HAS_UNISTD -Wno-gnu -o /tmp/W2IiFGR4Qt /tmp/W2IiFGR4Qt.c 2>&1
/tmp/W2IiFGR4Qt.c: In function ‘main’:
/tmp/W2IiFGR4Qt.c:1:41: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
/tmp/W2IiFGR4Qt.c: At top level:
cc1: warning: unrecognized command line option "-Wno-gnu" [enabled by default]
okConfiguring ext/base64
Configuring ext/curl
Checking for libcurl... % cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -DSL_HAS_UNISTD -Wno-gnu -DSL_HAS_COMPUTED_GOTO -fPIC -lcurl -o /tmp/GFja8Yd7hm /tmp/GFja8Yd7hm.c -lcurl 2>&1
/tmp/GFja8Yd7hm.c:1:27: fatal error: curl/curl.h: No such file or directory
compilation terminated.
% cc -I/usr/lib/i386-linux-gnu//include -L/usr/lib/i386-linux-gnu//lib -O3 -DSL_HAS_THREADSAFE_TIME -march=native -flto -DSL_HAS_BUILTIN_EXPECT -DSL_HAS_UNISTD -Wno-gnu -DSL_HAS_COMPUTED_GOTO -fPIC -o /tmp/us3ODCRJwt /tmp/us3ODCRJwt.c 2>&1
/tmp/us3ODCRJwt.c:1:27: fatal error: curl/curl.h: No such file or directory
compilation terminated.
failedCould not find libcurl (used -lcurl)
Please make sure it is available before building Slash
—
Reply to this email directly or view it on GitHub.
from slash.
Related Issues (20)
- NoMethodError: Undefined method '[]' on #<Method:0x2348bc8> HOT 1
- Add FastCGI SAPI HOT 4
- nginx module HOT 1
- Alternative syntax for Lambda expressions (?) HOT 4
- ./configure not checking ruby HOT 2
- Install Slash via Homebrew HOT 9
- So how does one accept client input from GET or POST? HOT 3
- split default keyword argument not working HOT 7
- Documentation -- can I help? HOT 1
- Tailing \x00 with String#lower HOT 1
- Build process should provide shared libraries as well
- Nginx Support for SAPI? HOT 2
- Can't open your homepage! HOT 6
- I need a tutorial HOT 4
- test.sl doesn't work from the test directory HOT 4
- Allow class declaration with fully-qualified name HOT 3
- Implement File.exists
- Implement Dir(ectory) tools
- Add __FILE__ and __DIR__ constants
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slash.