| Re: Re: Finally inst Jul 10 2004 on content KNemo | Very good!!!
Thanks, i can also use checkinstall now!!
I apply the patch and using the option you tell i made the rpm easily!!!
But the rpm that i built is for fedora?
If yes I can post the rpm for fedora users!! |
| | | Finally install Jul 9 2004 on content KNemo | Thank you for all your help!!
I fannally install the program!!!
The problem was with checkinstall, the program that create the rpms!!
i made:
./configure
make
all ok, then:
checkinstall
and it gives me many errors!
then i try make install and i have the program installed!! |
| | | Re: Re: Re: Re: Re: Jul 8 2004 on content KNemo | And also "shl_load" fail!!
It's important for compilation? |
| | | Re: Re: Re: Re: libj Jul 8 2004 on content KNemo | Thank you!
Now i have no errors for libjpeg and also for libpng, i've downloaded the devel packages!
But another question, i have to care for the missing "crt_externs.h" in the config.log file? |
| | | Re: Re: libjpeg Jul 7 2004 on content KNemo | I don't have errors only for libjpeg, but also for others, here the lines:
configure:2985: result: none needed
configure:3003: gcc -c conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3009: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3144: checking dependency style of gcc
some lines later.....
configure:3290: gcc -E conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3296: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "knemo"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #include
.....
configure:3397: gcc -E conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3403: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "knemo"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #include
...........
configure:3788: g++ -c conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:15: error: `exit' undeclared (first use this function)
conftest.cc:15: error: (Each undeclared identifier is reported only once for
each function it appears in.)
configure:3794: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "knemo"
| #define VERSION "0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3743: g++ -c conftest.cc >&5
configure:3749: $? = 0
.........
I think the error messages are too long,
so i will stop.
i found errors like these in many part of the log, if you want i wil send you the log! I think the script don't find the header file jpeglib.h.
For libjpeg the lines are these:
configure:27833: checking for libjpeg6b
configure:27873: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute -I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib -ljpeg6b -lm >&5
/usr/bin/ld: cannot find -ljpeg6b
collect2: ld returned 1 exit status
configure:27879: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "knemo"
| #define VERSION "0.1"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define KDELIBSUFF ""
| #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 HAVE_SGI_STL 1
| #define HAVE_CRYPT 1
| #define ksize_t socklen_t
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_RES_INIT 1
| #define HAVE_RES_INIT 1
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_CHAR_P 4
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
| /* Override any gcc2 internal prototype to avoid an error. */
| struct jpeg_decompress_struct;
| typedef struct jpeg_decompress_struct * j_decompress_ptr;
| typedef int size_t;
| #ifdef __cplusplus
| extern "C" {
| #endif
| void jpeg_CreateDecompress(j_decompress_ptr cinfo,
| int version, size_t structsize);
| #ifdef __cplusplus
| }
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
|
| int
| main ()
| {
| jpeg_CreateDecompress(0L, 0, 0);
| ;
| return 0;
| }
configure:27914: result: no
configure:27917: checking for libjpeg
configure:27957: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute -I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib -ljpeg -lm >&5
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
configure:27963: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "knemo"
| #define VERSION "0.1"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define KDELIBSUFF ""
| #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 HAVE_SGI_STL 1
| #define HAVE_CRYPT 1
| #define ksize_t socklen_t
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_RES_INIT 1
| #define HAVE_RES_INIT 1
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_CHAR_P 4
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
| /* Override any gcc2 internal prototype to avoid an error. */
| struct jpeg_decompress_struct;
| typedef struct jpeg_decompress_struct * j_decompress_ptr;
| typedef int size_t;
| #ifdef __cplusplus
| extern "C" {
| #endif
| void jpeg_CreateDecompress(j_decompress_ptr cinfo,
| int version, size_t structsize);
| #ifdef __cplusplus
| }
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
|
| int
| main ()
| {
| jpeg_CreateDecompress(0L, 0, 0);
| ;
| return 0;
| }
configure:27998: result: no
configure: 28022: ${prefix}/include/jpeglib.h
configure: 28022: /usr/include/jpeglib.h
configure: 28022: /usr/local/include/jpeglib.h
configure:28053: WARNING: libjpeg not found. disable JPEG support. |
| | | libjpeg Jul 7 2004 on content KNemo | I use fedora core 2:
I'm trying to compile knemo but I have this kind of errors in many part of the config.log file:
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "knemo"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #include
What is the meaning of these errors? |
| |
Search people Current visitors New users Birthdays Most active users Back
|
|