
Hi there,
I'm trying to compile Inkscape-current (Slackware current, gcc 3.3.5, perl 5.8.6) but there's an issue with perl, ./configure statu shows the following:
********************************************************************* Configuration:
Source code location: . Destination path prefix: /usr/local Compiler: g++ CPPFLAGS: CXXFLAGS: -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 LDFLAGS:
Use Xft font database: yes Use gnome-print: no Use gnome-vfs no Use openoffice files: yes Use MMX optimizations: yes Use relocation support: no Use Python extensions: yes Use Perl extensions: no *********************************************************************
In the config.log I found this:
********************************************************************* [snip] configure:23619: checking for Perl development environment configure:23643: result: yes configure:23651: checking for perl_alloc configure:23708: g++ -o conftest -g -O2 -Wl,-E -L/usr/local/lib /usr/lib/perl5/5.8.6/i486-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.6/i486-linux/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lc conftest.cc -lgc >&5 /tmp/ccWA012K.o(.text+0xf): In function `main': /home/behrens/Desktop/inkscape-20050413-2300/conftest.cc:75: undefined reference to `perl_alloc' /tmp/ccWA012K.o(.data+0x0): undefined reference to `perl_alloc' collect2: ld returned 1 exit status configure:23714: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "inkscape" | #define PACKAGE_TARNAME "inkscape" | #define PACKAGE_VERSION "0.41+cvs" | #define PACKAGE_STRING "inkscape 0.41+cvs" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "inkscape" | #define VERSION "0.41+cvs" | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define GETTEXT_PACKAGE "inkscape" | #define HAVE_LOCALE_H 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 | #define HAVE_GETTEXT 1 | #define ENABLE_NLS 1 | #define HAVE_GC_H 1 | #define WITH_XFT 1 | #define WITH_INKJAR 1 | #define HAVE_ZLIB_H 1 | /* end confdefs.h. */ | /* Define perl_alloc to an innocuous variant, in case <limits.h> declares perl_alloc. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define perl_alloc innocuous_perl_alloc | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char perl_alloc (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef perl_alloc | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char perl_alloc (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_perl_alloc) || defined (__stub___perl_alloc) | choke me | #else | char (*f) () = perl_alloc; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != perl_alloc; | ; | return 0; | } configure:23738: result: no [snip] *********************************************************************
Maybe a helpful soul give me a hint, what to do....
Cheerz Lars