Liebe Leute
Ich versuche Scrappy zu installieren:
http://doc.scrapy.org/intro/install.html
Dazu muss libxml installiert (also kompiliert) werden.
Dann schauen wir uns mal die config.log an:
Die Meldung, check config.log, in der config.log finde ich etwas paradox. Abgesehen davon, ich kann nicht verstehen, was mir das log-file sagen will. Wieso kann der C-Kompiler keine executables erstellen?
Könnt ihr mir einen Hinweis geben, woran das liegen kann?
Vielen Dank.
Ich versuche Scrappy zu installieren:
http://doc.scrapy.org/intro/install.html
Dazu muss libxml installiert (also kompiliert) werden.
Code:
myMBP @ ~/Downloads/libxml2-2.7.3 $ ./configure --with-python=/Library/Frameworks/Python.framework/Versions/2.6/
checking build system type... i386-apple-darwin9.8.0
checking host system type... i386-apple-darwin9.8.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
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.
Dann schauen wir uns mal die config.log an:
Code:
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2117: checking build system type
configure:2135: result: i386-apple-darwin9.8.0
configure:2157: checking host system type
configure:2172: result: i386-apple-darwin9.8.0
configure:2245: checking for a BSD-compatible install
configure:2301: result: /usr/bin/install -c
configure:2312: checking whether build environment is sane
configure:2355: result: yes
configure:2383: checking for a thread-safe mkdir -p
configure:2422: result: ./install-sh -c -d
configure:2435: checking for gawk
configure:2465: result: no
configure:2435: checking for mawk
configure:2465: result: no
configure:2435: checking for nawk
configure:2465: result: no
configure:2435: checking for awk
configure:2451: found /usr/bin/awk
configure:2462: result: awk
configure:2473: checking whether make sets $(MAKE)
configure:2494: result: yes
configure:2731: checking for gcc
configure:2747: found /usr/bin/gcc
configure:2758: result: gcc
configure:2996: checking for C compiler version
configure:3003: gcc --version >&5
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3006: $? = 0
configure:3013: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking -enable-werror --prefi
x=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg]
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686
-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-app
le-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
configure:3016: $? = 0
configure:3023: gcc -V >&5
gcc-4.0: argument to `-V' is missing
configure:3026: $? = 1
configure:3049: checking for C compiler default output file name
configure:3076: gcc -l/opt/local/include -L/opt/local/lib conftest.c >&5
ld: library not found for -l/opt/local/include
collect2: ld returned 1 exit status
configure:3079: $? = 1
configure:3117: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libxml2"
| #define VERSION "2.7.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3124: error: C compiler cannot create executables
See `config.log' for more details.
Die Meldung, check config.log, in der config.log finde ich etwas paradox. Abgesehen davon, ich kann nicht verstehen, was mir das log-file sagen will. Wieso kann der C-Kompiler keine executables erstellen?
Könnt ihr mir einen Hinweis geben, woran das liegen kann?
Vielen Dank.