DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th February 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default [SOLVED] [ippserver] Error

Hi,
I've installed NetBSD 7.0 on quad cores, 8 threads, also i've extract pkgsrc2015Q3.
All times i have issue when i compile for example libreoffice or hplip or etc..
this issue is [ippserver] Error !

I think that is a link between object, this my out put :
Code:
Linking ippserver...
libtool: link: gcc -Wl,-R/usr/pkg/lib -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -o ippserver ippserver.o  -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/pkgsrc/print/cups15/work/.buildlink/lib ../cups/libcups.a -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldns_sd -lpthread -lcrypt -lm -lz
ld: cannot find -lgssapi_krb5
ld: cannot find -lk5crypto
Makefile:163: recipe for target 'ippserver' failed
gmake[1]: *** [ippserver] Error 1
Makefile:31: recipe for target 'all' failed
gmake: *** [all] Error 1
*** Error code 2

Stop.
make[2]: stopped in /usr/pkgsrc/print/cups15
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/print/cups15
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/hplip
dct-clovis#
Regards
Philippe

Last edited by philo_neo71; 26th February 2016 at 07:33 PM.
Reply With Quote
  #2   (View Single Post)  
Old 19th February 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

It seems the cups makefiles cannot find the kerberos libraries.

What did the configure phase of cups15 say in its search for kerberos?

What are the contents of your /etc/mk.conf
Reply With Quote
  #3   (View Single Post)  
Old 19th February 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

my mk.conf is empty

Last edited by philo_neo71; 19th February 2016 at 08:41 PM.
Reply With Quote
  #4   (View Single Post)  
Old 20th February 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

do you have either security/mit-krb5?

The output implies that cups15's configure found a kerberos library (security/mit-krb5) but then was unable to find it for linking.

I would suggest going to print/cups15, doing a ``make clean'' followed by a ``make configure'' with the output redirected.

Additionally, you might want to disable kerberos support in cups15 by adding ``PKG_OPTIONS.cups15 =-kerberos'' to your mk.conf
Reply With Quote
  #5   (View Single Post)  
Old 20th February 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

hi,
i've doing two option with or without parametres into the mk.conf !

Quote:
ld: cannot find -lgssapi_krb5
ld: cannot find -lk5crypto
Makefile:232: recipe for target 'ippserver' failed
I prefer to activate kerberos, i've compiled security/kerberos, but there are no change !

I read after search to google that there are a "flags" into the mk.conf.

Regards
Philippe
Reply With Quote
  #6   (View Single Post)  
Old 21st February 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

once again, you'll need to look at the output of the configure step for the print/cups15 package to figure out why it's picking up the wrong edition of kerberos. On NetBSD 7, it should be using the operating system provided version of kerberos, but the libraries you are listing are part of the mit-krb5 package.

Do you have mit-krb5 installed?

You need to run a "make clean" in print/cups15, followed by "make configure" and examine the output of the configure phase.
Reply With Quote
  #7   (View Single Post)  
Old 21st February 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Hi Eric,
sorry i don't anderstand at my back thread, i do cd /usr/pkgsrc/print/cups15,
i apply this command :
1/ make clean
2/ make configure

>> this is my output :
Code:
dct-clovis# make clean
===> Cleaning for cups-1.5.4nb14
dct-clovis# make configure
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for cups-1.5.4-source.tar.bz2
=> Checksum RMD160 OK for cups-1.5.4-source.tar.bz2
=> Checksum SHA1 OK for str4609-1.5.patch
=> Checksum RMD160 OK for str4609-1.5.patch
===> Installing dependencies for cups-1.5.4nb14
==========================================================================
The supported build options for cups are:

	acl dbus dnssd ghostscript kerberos libusb
	pam poppler slp tcpwrappers

The currently selected options are:

	dbus dnssd kerberos libusb poppler slp

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.cups (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
cups-1.5.4nb14.  Their current value is shown below:

        * CUPS_GROUP = lp
        * CUPS_SYSTEM_GROUPS = wheel
        * CUPS_USER = lp
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb10
=> Tool dependency automake>=1.9: found automake-1.15nb2
=> Tool dependency autoconf>=2.60: found autoconf-2.69nb6
=> Tool dependency gmake>=3.81: found gmake-4.1nb1
=> Tool dependency pkg-config>=0.25: found pkg-config-0.28
=> Full dependency poppler-utils-[0-9]*: found poppler-utils-0.34.0
=> Full dependency dbus>=0.91: found dbus-1.10.0nb1
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.19
=> Full dependency openslp>=1.2.1: found openslp-1.2.1nb7
=> Full dependency png>=1.6.0nb1: found png-1.6.20
=> Full dependency tiff>=4.0.3nb5: found tiff-4.0.6
=> Full dependency libpaper>=1.1.22: found libpaper-1.1.24
===> Overriding tools for cups-1.5.4nb14
===> Extracting for cups-1.5.4nb14
/bin/cp /usr/pkgsrc/print/cups15/files/cups.pam /usr/pkgsrc/print/cups15/work/cups.pam
===> Patching for cups-1.5.4nb14
=> Applying distribution patches for cups-1.5.4nb14
=> Applying pkgsrc patches for cups-1.5.4nb14
=> Substituting "paths" in /usr/pkgsrc/print/cups15/work/cups.pam
=> Adding rpath to cups-config.
===> Creating toolchain wrappers for cups-1.5.4nb14
===> Configuring for cups-1.5.4nb14
cd /usr/pkgsrc/print/cups15/work/cups-1.5.4 && aclocal && autoconf
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
=> Generating pkg-config file for builtin expat package.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Fixing locale directory references.
checking for gawk... /usr/bin/awk
checking for i486--netbsdelf-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for ar... /usr/pkgsrc/print/cups15/work/.wrapper/bin/ar
checking for chmod... /bin/chmod
checking for gzip... /usr/bin/gzip
checking for htmldoc... no
checking for ld... /usr/pkgsrc/print/cups15/work/.wrapper/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... /usr/bin/sed
checking for xdg-open... no
checking for install-sh script... using /usr/pkgsrc/print/cups15/work/cups-1.5.4/install-sh
checking for pkg-config... /usr/pkgsrc/print/cups15/work/.tools/bin/pkg-config
checking for library containing fmod... -lm
checking for library containing crypt... -lcrypt
checking for library containing getspent... no
checking for systempapername in -lpaper... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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... no
checking crypt.h presence... no
checking for crypt.h... no
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... no
checking shadow.h presence... no
checking for shadow.h... no
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... yes
checking sys/ucred.h presence... yes
checking for sys/ucred.h... yes
checking scsi/sg.h usability... no
checking scsi/sg.h presence... no
checking for scsi/sg.h... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for library containing iconv_open... none required
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking for statfs... yes
checking for statvfs... yes
checking for strdup... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for random... yes
checking for lrand48... yes
checking for arc4random... yes
checking for geteuid... yes
checking for setpgid... yes
checking for vsyslog... yes
checking for sigset... yes
checking for sigaction... yes
checking for waitpid... yes
checking for wait3... yes
checking for tm_gmtoff member in tm structure... yes
checking for st_gen member in stat structure... yes
checking for removefile... no
checking for libusb-1.0... yes
checking for DBUS... yes
checking for dbus_message_iter_init_append... yes
WARNING: libtool is not supported or endorsed by Easy Software Products.
         WE DO NOT PROVIDE TECHNICAL SUPPORT FOR LIBTOOL PROBLEMS.
         (even if you have a support contract)
checking if GCC supports -fstack-protector... yes
checking if GCC supports -fPIE... yes
checking if GCC supports -Wno-tautological-compare... yes
checking whether to build image filters... yes
checking for library containing pow... none required
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... no
checking for library containing res_9_init... no
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... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for AppleTalk/at_proto.h... no
checking for poll... yes
checking for epoll_create... no
checking for kqueue... yes
checking slp.h usability... yes
checking slp.h presence... yes
checking for slp.h... yes
checking for SLPOpen in -lslp... yes
checking for krb5-config... /usr/pkg/bin/krb5-config
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
checking gssapi.h usability... yes
checking gssapi.h presence... yes
checking for gssapi.h... yes
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking gssapi/gssapi_generic.h usability... no
checking gssapi/gssapi_generic.h presence... no
checking for gssapi/gssapi_generic.h... no
checking gssapi/gssapi_krb5.h usability... yes
checking gssapi/gssapi_krb5.h presence... yes
checking for gssapi/gssapi_krb5.h... yes
checking for __ApplePrivate_gss_acquire_cred_ex_f... no
checking for GSS_C_NT_HOSTBASED_SERVICE... 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 openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes
checking for SSL_set_tlsext_host_name... no
    Using SSLLIBS="-lssl -lcrypto"
    Using SSLFLAGS="-DOPENSSL_DISABLE_OLD_DES_SUPPORT"
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long int... yes
checking for strtoll... yes
checking dns_sd.h usability... yes
checking dns_sd.h presence... yes
checking for dns_sd.h... yes
checking for current version of dns_sd library... yes
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 pdftops... (cached) /usr/pkg/bin/pdftops
checking whether pdftops supports -origpagesizes... yes
configure: creating ./config.status
config.status: creating Makedefs
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 cups-config
config.status: creating data/testprint
config.status: creating desktop/cups.desktop
config.status: creating doc/help/ref-cupsd-conf.html
config.status: creating doc/help/standard.html
config.status: creating doc/index.html
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.conf.man
config.status: creating man/cupsd.man
config.status: creating man/lpoptions.man
config.status: creating scheduler/cups-lpd.xinetd
config.status: creating scheduler/cups.sh
config.status: creating scheduler/cups.xml
config.status: creating scheduler/org.cups.cups-lpd.plist
config.status: creating templates/header.tmpl
config.status: creating packaging/cups.list
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/eu/index.html
config.status: creating templates/eu/header.tmpl
config.status: creating doc/fr/index.html
config.status: creating templates/fr/header.tmpl
config.status: creating doc/hu/index.html
config.status: creating templates/hu/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 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/ru/index.html
config.status: creating templates/ru/header.tmpl
config.status: creating config.h
=> Modifying libtool scripts to use pkgsrc libtool
dct-clovis#
with pleasure
Philippe
Reply With Quote
  #8   (View Single Post)  
Old 22nd February 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

Do you have security/mit-krb5 installed?
Reply With Quote
  #9   (View Single Post)  
Old 23rd February 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Hi Eric,
Following that you say this is my ouput :

Code:
dct-clovis# cd security/mit-krb5
dct-clovis# ls
CVS             Makefile        builtin.mk      patches
DESCR           PLIST           distinfo        work
MESSAGE         buildlink3.mk   files
dct-clovis# make install
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Install binary package of mit-krb5-1.10.7nb7
pkg_add: package `mit-krb5-1.10.7nb7' already recorded as installed
dct-clovis#
Regards
Philippe
Reply With Quote
Old 23rd February 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

If you're wanting to use the mit-krb5 package with cups, you need to add the following to your /etc/mk.conf

KRB5_DEFAULT=mit-krb5

and then rebuild print/cups.
Reply With Quote
Old 23rd February 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Hi Eric,

I do your recommendations, i change mk.conf.

This is my output :

Code:
dct-clovis# nano /etc/mk.conf
dct-clovis# cd /usr/pkgsrc/print/cups
dct-clovis# ls
CVS             MESSAGE.libusb  PLIST           files           work
DESCR           MESSAGE.pam     buildlink3.mk   options.mk
MESSAGE         Makefile        distinfo        patches
dct-clovis# make deinstall
===> Deinstalling for cups-2.1.0
dct-clovis# make reinstall
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for cups-2.1.0
Using ARCHFLAGS=
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/libusb-1.0  -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  
Using CC=libtool --mode=link gcc
Using CXX=libtool --mode=link gcc
Using DSOFLAGS=-L../cups -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-unused-result -Wsign-conversion -Wno-tautological-compare
Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-unused-result -Wsign-conversion -Wno-tautological-compare
Using LIBS=../cups/libcups.la -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldns_sd -lz -lpthread -lm -lcrypt   -lz 
Making all in cups...
Making all in test...
Linking ippserver...
libtool: link: gcc -Wl,-R/usr/pkg/lib -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-unused-result -Wsign-conversion -Wno-tautological-compare -o ippserver ippserver.o  -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/pkgsrc/print/cups/work/.buildlink/lib ../cups/libcups.a -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldns_sd -lpthread -lm -lcrypt -lz
ld: cannot find -lgssapi_krb5
ld: cannot find -lk5crypto
Makefile:232: recipe for target 'ippserver' failed
gmake[1]: *** [ippserver] Error 1
Makefile:31: recipe for target 'all' failed
gmake: *** [all] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/print/cups
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/cups
dct-clovis#
Regards
Philippe
Reply With Quote
Old 24th February 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

you need to do a "make clean" before your "make".

Right now, you've still got the old configuration and link trees around, and they're wrong.
Reply With Quote
Old 24th February 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Hi Eric,
It's good for "cups", i've forgot "make clean".
But now i've same issue for the port "/print/hplip", for my printer.

This is my output :
Code:
dct-clovis# make
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for hplip-3.15.7.tar.gz
=> Checksum RMD160 OK for hplip-3.15.7.tar.gz
===> Installing dependencies for hplip-3.15.7nb2
==========================================================================
The supported build options for hplip are:

	fax qt sane

The currently selected options are:

	fax

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.hplip (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
hplip-3.15.7nb2.  Their current value is shown below:

        * CUPS_GROUP = lp
        * CUPS_USER = lp
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = mit-krb5
        * PYTHON_VERSION_DEFAULT = 27
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5
        * PYPACKAGE = python27

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb10
=> Tool dependency automake>=1.9: found automake-1.15nb2
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb6
=> Tool dependency gmake>=3.81: found gmake-4.1nb1
=> Tool dependency pkg-config>=0.25: found pkg-config-0.28
=> Build dependency x11-links>=0.94: found x11-links-0.98
=> Build dependency dbus-python-common>=1.1.1: found dbus-python-common-1.2.0
=> Full dependency py27-reportlab-[0-9]*: found py27-reportlab-2.7
=> Full dependency perl>=5.0: found perl-5.22.0
=> Full dependency dbus>=0.91: found dbus-1.10.0nb1
=> Full dependency py27-dbus>=1.1.1nb1: found py27-dbus-1.2.0
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.22
=> Full dependency jpeg>=9: found jpeg-9anb1
=> Full dependency net-snmp>=5.2.1.2: found net-snmp-5.7.3nb2
=> Full dependency cups>=1.1.19nb3<1.7: NOT found
=> Verifying reinstall for ../../print/cups15
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for cups-1.5.4nb14
Using ARCHFLAGS=
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/libusb-1.0  -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT 
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT 
Using CC=libtool --mode=link gcc
Using CXX=libtool --mode=link gcc
Using DSOFLAGS=-L../cups -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare
Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare
Using LIBS=../cups/libcups.la -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldns_sd -lz -lpthread -lcrypt -lm   
Making all in cups...
Making all in test...
Linking ippserver...
libtool: link: gcc -Wl,-R/usr/pkg/lib -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -o ippserver ippserver.o  -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/pkgsrc/print/cups15/work/.buildlink/lib ../cups/libcups.a -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldns_sd -lpthread -lcrypt -lm -lz
ld: cannot find -lgssapi_krb5
ld: cannot find -lk5crypto
Makefile:163: recipe for target 'ippserver' failed
gmake[1]: *** [ippserver] Error 1
Makefile:31: recipe for target 'all' failed
gmake: *** [all] Error 1
*** Error code 2

Stop.
make[2]: stopped in /usr/pkgsrc/print/cups15
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/print/cups15
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/hplip
dct-clovis#



Thanks a lot
philippe
Reply With Quote
Old 25th February 2016
schnoebe schnoebe is offline
Real Name: Eric Schnoebelen
old timer
 
Join Date: Feb 2016
Location: Plano, TX, US
Posts: 33
Default

run "make clean-depends clean" in print/hplip.

Also, print/hplip is trying to install print/cups15, not print/cups. Something to be aware of.
Reply With Quote
Old 26th February 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Thanks a lot Eric

Thread / post SOLVED

Regards
Philippe
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
`halt -p` causes error sw2wolf OpenBSD General 6 24th August 2012 02:33 AM
shc unistd.h:239: error: syntax error before '&' token laraaj OpenBSD General 3 11th September 2010 07:21 AM
help error darken FreeBSD General 1 21st September 2008 09:28 PM
VLC run error mfaridi OpenBSD Packages and Ports 14 29th May 2008 05:38 PM
error kde darken FreeBSD General 1 5th May 2008 08:45 PM


All times are GMT. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick