Problem with compileing CUPS

Eliraz eliraza at gmail.com
Tue Feb 3 07:56:30 PST 2009


Hi guys,
I'm trying to install a newer version of CUPS and my compilation fails:


[root at maofdev2 cups-1.3.9]# ./configure
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for htmldoc... no
checking for ld... /usr/bin/ld
checking for ln... /bin/ln
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for sed... /bin/sed
checking for strip... /usr/bin/strip
checking for library containing crypt... -lcrypt
checking for library containing getspent... none required
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking usersec.h usability... no
checking usersec.h presence... no
checking for usersec.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking for strdup... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for mkstemp... yes
checking for mkstemps... no
checking for geteuid... yes
checking for vsyslog... yes
checking for sigaction... yes
checking for waitpid... yes
checking for wait3... yes
checking for tm_gmtoff member in tm structure... yes
checking for removefile... no
checking for library containing acl_init... -lacl
checking for pkg-config... /usr/bin/pkg-config
checking for DBUS... yes
checking for dbus_message_iter_init_append in -ldbus-1... no
checking if GCC supports -fstack-protector... no
checking whether to build image filters... yes
checking for library containing pow... -lm
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_read_struct in -lpng... yes
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for stdlib.h... (cached) yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking for library containing socket... none required
checking for library containing gethostbyaddr... none required
checking for library containing getifaddrs... none required
checking for library containing hstrerror... none required
checking for library containing rresvport_af... none required
checking for library containing __res_init... none required
checking for library containing getaddrinfo... none required
checking for library containing getnameinfo... none required
checking for struct sockaddr.sa_len... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for AppleTalk/at_proto.h... no
checking for poll... yes
checking for epoll_create... yes
checking for kqueue... no
checking slp.h usability... no
checking slp.h presence... no
checking for slp.h... no
checking for krb5-config... /usr/kerberos/bin/krb5-config
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
checking gssapi.h usability... no
checking gssapi.h presence... no
checking for gssapi.h... no
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking gssapi/gssapi_generic.h usability... yes
checking gssapi/gssapi_generic.h presence... yes
checking for gssapi/gssapi_generic.h... yes
checking gssapi/gssapi_krb5.h usability... yes
checking gssapi/gssapi_krb5.h presence... yes
checking for gssapi/gssapi_krb5.h... yes
checking for gsskrb5_register_acceptor_identity... no
checking for krb5_cc_new_unique... no
checking for GSS_C_NT_HOSTBASED_SERVICE... yes
checking for Heimdal Kerberos... no
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking for ldap_initialize in -lldap... yes
checking for libgnutls-config... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes
    Using SSLLIBS="-lssl -lcrypto"
    Using SSLFLAGS="-DOPENSSL_DISABLE_OLD_DES_SUPPORT"
checking for dlopen in -ldl... yes
checking for pam_start in -lpam... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for long long int... yes
checking for strtoll... yes
checking dns_sd.h usability... no
checking dns_sd.h presence... no
checking for dns_sd.h... no
checking for launch_msg... no
checking launch.h usability... no
checking launch.h presence... no
checking for launch.h... no
checking whether to use network default printers... yes
checking for default print user... lp
checking for default print group... lp
checking for default system groups... "sys root"
checking whether to enable raw printing... no
checking whether to build pdftops filter... yes
checking for java... /usr/bin/java
checking for perl... /usr/local/bin/perl
checking for php... /usr/bin/php
checking for php-config... no
checking for python... /usr/bin/python
configure: creating ./config.status
config.status: creating Makedefs
config.status: creating packaging/cups.list
config.status: creating init/cups.sh
config.status: creating init/cups-lpd
config.status: creating cups-config
config.status: creating conf/cupsd.conf
config.status: creating conf/mime.convs
config.status: creating conf/pam.std
config.status: creating conf/snmp.conf
config.status: creating doc/index.html
config.status: creating doc/help/ref-cupsd-conf.html
config.status: creating doc/help/standard.html
config.status: creating init/org.cups.cups-lpd.plist
config.status: creating man/client.conf.man
config.status: creating man/cups-deviced.man
config.status: creating man/cups-driverd.man
config.status: creating man/cups-lpd.man
config.status: creating man/cupsaddsmb.man
config.status: creating man/cupsd.man
config.status: creating man/cupsd.conf.man
config.status: creating man/lpoptions.man
config.status: creating templates/header.tmpl
config.status: creating doc/de/index.html
config.status: creating templates/de/header.tmpl
config.status: creating doc/es/index.html
config.status: creating templates/es/header.tmpl
config.status: creating doc/et/index.html
config.status: creating templates/et/header.tmpl
config.status: creating doc/fr/index.html
config.status: creating templates/fr/header.tmpl
config.status: creating doc/he/index.html
config.status: creating templates/he/header.tmpl
config.status: creating doc/id/index.html
config.status: creating templates/id/header.tmpl
config.status: creating doc/it/index.html
config.status: creating templates/it/header.tmpl
config.status: creating doc/ja/index.html
config.status: creating templates/ja/header.tmpl
config.status: creating doc/pl/index.html
config.status: creating templates/pl/header.tmpl
config.status: creating doc/sv/index.html
config.status: creating templates/sv/header.tmpl
config.status: creating doc/zh_TW/index.html
config.status: creating templates/zh_TW/header.tmpl
config.status: creating config.h
config.status: config.h is unchanged
[root at maofdev2 cups-1.3.9]# make
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE  -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
Using LDFLAGS=-L../cups -L../filter -Wall -Wno-format-y2k -fPIC -Os -g -D_GNU_SOURCE
Using LIBS=-lcups -lssl -lcrypto -lpthread -lm -lcrypt
Making all in cups...
Making all in backend...
Making all in berkeley...
Making all in cgi-bin...
Linking admin.cgi...
Linking classes.cgi...
Linking help.cgi...
Linking jobs.cgi...
Linking printers.cgi...
Linking testcgi...
Linking testhi...
Linking testtemplate...
Making all in filter...
Linking gziptoany...
Linking testimage...
Making all in locale...
Making all in man...
Compressing lpoptions.man... 62.3%
Compressing client.conf.man... 49.5%
Compressing cupsd.conf.man... 70.4%
Compressing cupsaddsmb.man... 65.4%
Compressing cups-deviced.man... 51.7%
Compressing cups-driverd.man... 56.3%
Compressing cups-lpd.man... 53.4%
Compressing cupsd.man... 52.1%
Converting man pages to HTML...
    cancel.1.gz...
    cups-config.1.gz...
    cupstestdsc.1.gz...
    cupstestppd.1.gz...
    lp.1.gz...
    lpoptions.1.gz...
    lppasswd.1.gz...
    lpq.1.gz...
    lprm.1.gz...
    lpr.1.gz...
    lpstat.1.gz...
    classes.conf.5.gz...
    client.conf.5.gz...
    cups-snmp.conf.5.gz...
    cupsd.conf.5.gz...
    mailto.conf.5.gz...
    mime.convs.5.gz...
    mime.types.5.gz...
    printers.conf.5.gz...
    subscriptions.conf.5.gz...
    backend.7.gz...
    filter.7.gz...
    accept.8.gz...
    cupsaddsmb.8.gz...
    cupsctl.8.gz...
    cupsfilter.8.gz...
    cups-deviced.8.gz...
    cups-driverd.8.gz...
    cups-lpd.8.gz...
    cups-polld.8.gz...
    cupsd.8.gz...
    cupsenable.8.gz...
    lpadmin.8.gz...
    lpinfo.8.gz...
    lpmove.8.gz...
    lpc.8.gz...
Making all in monitor...
Making all in notifier...
Compiling mailto.c...
Linking mailto...
Compiling rss.c...
Linking rss...
Compiling testnotify.c...
Linking testnotify...
Making all in pdftops...
Linking pdftops...
pdftops.o(.text+0x989): In function `main':
/tmp/cups-1.3.9/pdftops/pdftops.cxx:87: undefined reference to `_Unwind_Resume'
libxpdf.a(GlobalParams.o)(.text+0x91f): In function `GlobalParams::GlobalParams(char*)':
/tmp/cups-1.3.9/pdftops/GlobalParams.cxx:341: undefined reference to `_Unwind_Resume'
libxpdf.a(GlobalParams.o)(.text+0xf85): In function `GlobalParams::GlobalParams(char*)':
/tmp/cups-1.3.9/pdftops/GlobalParams.cxx:341: undefined reference to `_Unwind_Resume'
libxpdf.a(GlobalParams.o)(.text+0x1b51): In function `GlobalParams::parseFile(GString*, _IO_FILE*)':
/tmp/cups-1.3.9/pdftops/GlobalParams.cxx:660: undefined reference to `_Unwind_Resume'
libxpdf.a(GlobalParams.o)(.text+0x1d5d): In function `GlobalParams::parseCIDToUnicode(GList*, GString*, int)':
/tmp/cups-1.3.9/pdftops/GString.h:38: undefined reference to `_Unwind_Resume'
libxpdf.a(GlobalParams.o)(.text+0x1e27):/tmp/cups-1.3.9/pdftops/GString.h:38: more undefined references to `_Unwind_Resume' follow
collect2: ld returned 1 exit status
make[1]: *** [pdftops] Error 1
make: *** [all] Error 1


I can't understand what seems to be the problem...




More information about the cups mailing list