Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 00:38:50 +0200
From:      Jakob Breivik Grimstveit <jakob@grimstveit.no>
To:        ports@freebsd.org
Subject:   sane-backends build fails miserably
Message-ID:  <1060814330.584.19.camel@dune>

next in thread | raw e-mail | index | archive | help

--=-WOoZ8PSPHdpBFO8Sjg5d
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Since I got some complaints when running xsane, I tried reinstalling
sane-backends. That fails this way. How do I fix this? Will this port be
fixed soon? Thanks for any help with this.


[jakobbg@dune jakobbg]$ cd /usr/ports/graphics/sane-backends/
[jakobbg@dune sane-backends]$ sudo make deinstall reinstall
Password:
=3D=3D=3D>  Deinstalling for graphics/sane-backends
=3D=3D=3D>   sane-backends not installed, skipping
>> sane-backends-1.0.12.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
>> Attempting to fetch from
ftp://ftp.no.freebsd.org/pub/FreeBSD/ports/distfiles //.
Receiving sane-backends-1.0.12.tar.gz (2790931 bytes): 100%
2790931 bytes transferred in 21.2 seconds (128.35 kBps)
=3D=3D=3D>  Extracting for sane-backends-1.0.12_2
>> Checksum OK for sane-backends-1.0.12.tar.gz.
=3D=3D=3D>  Patching for sane-backends-1.0.12_2
=3D=3D=3D>  Applying FreeBSD patches for sane-backends-1.0.12_2
=3D=3D=3D>   sane-backends-1.0.12_2 depends on executable: gmake - found
=3D=3D=3D>   sane-backends-1.0.12_2 depends on file:
/usr/local/libexec/libtool13/libtool - found
=3D=3D=3D>   sane-backends-1.0.12_2 depends on shared library: intl.4 - fou=
nd
=3D=3D=3D>   sane-backends-1.0.12_2 depends on shared library: usb-0.1.7 -
found
=3D=3D=3D>   sane-backends-1.0.12_2 depends on shared library: jpeg.9 - fou=
nd
=3D=3D=3D>   sane-backends-1.0.12_2 depends on shared library: gphoto2.2 -
found
=3D=3D=3D>  Configuring for sane-backends-1.0.12_2
checking build system type... i386-portbld-freebsd4.8
checking host system type... i386-portbld-freebsd4.8
checking for gcc... cc
checking for C compiler default output... 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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether gmake sets $(MAKE)... yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking whether cc needs -traditional... no
checking for sane-config... no
checking for msgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for latex... no
checking for dvips... no
checking for makeindex... no
checking linker parameter to set runtime link path... -Wl,-rpath,
checking for AIX... no
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... no
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for strerror in -lcposix... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... no
checking for dlopen... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for sqrt in -lm... yes
checking for scsireq_enter in -lscsi... no
checking for cam_open_device in -lcam... yes
checking for gethostbyaddr in -lnsl... no
checking for socket in -lsocket... no
checking for syslog in -lsyslog... no
checking for jpeg_start_decompress in -ljpeg... yes
checking jconfig.h usability... yes
checking jconfig.h presence... yes
checking for jconfig.h... yes
checking for jpeglib - version >=3D 61 (6a)... yes
checking ieee1284.h usability... no
checking ieee1284.h presence... no
checking for ieee1284.h... no
checking for gphoto2-config... gphoto2-config
checking for sane_init in -lsane... no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/dsreq.h usability... no
checking sys/dsreq.h presence... no
checking for sys/dsreq.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/scanio.h usability... no
checking sys/scanio.h presence... no
checking for sys/scanio.h... no
checking scsi.h usability... no
checking scsi.h presence... no
checking for scsi.h... no
checking sys/scsi.h usability... no
checking sys/scsi.h presence... no
checking for sys/scsi.h... no
checking sys/scsicmd.h usability... no
checking sys/scsicmd.h presence... no
checking for sys/scsicmd.h... no
checking sys/scsiio.h usability... no
checking sys/scsiio.h presence... no
checking for sys/scsiio.h... no
checking bsd/dev/scsireg.h usability... no
checking bsd/dev/scsireg.h presence... no
checking for bsd/dev/scsireg.h... no
checking scsi/sg.h usability... no
checking scsi/sg.h presence... no
checking for scsi/sg.h... no
checking /usr/src/linux/include/scsi/sg.h usability... no
checking /usr/src/linux/include/scsi/sg.h presence... no
checking for /usr/src/linux/include/scsi/sg.h... no
checking io/cam/cam.h usability... no
checking io/cam/cam.h presence... no
checking for io/cam/cam.h... no
checking camlib.h usability... yes
checking camlib.h presence... yes
checking for camlib.h... yes
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/io.h usability... no
checking sys/io.h presence... no
checking for sys/io.h... no
checking gscdds.h usability... no
checking gscdds.h presence... no
checking for gscdds.h... no
checking sys/hw.h usability... no
checking sys/hw.h presence... no
checking for sys/hw.h... no
checking for sys/types.h... (cached) yes
checking sys/scsi/scsi.h usability... no
checking sys/scsi/scsi.h presence... no
checking for sys/scsi/scsi.h... no
checking sys/scsi/sgdefs.h usability... no
checking sys/scsi/sgdefs.h presence... no
checking for sys/scsi/sgdefs.h... no
checking sys/scsi/targets/scgio.h usability... no
checking sys/scsi/targets/scgio.h presence... no
checking for sys/scsi/targets/scgio.h... no
checking apollo/scsi.h usability... no
checking apollo/scsi.h presence... no
checking for apollo/scsi.h... no
checking sys/sdi_comm.h usability... no
checking sys/sdi_comm.h presence... no
checking for sys/sdi_comm.h... no
checking sys/passthrudef.h usability... no
checking sys/passthrudef.h presence... no
checking for sys/passthrudef.h... no
checking linux/ppdev.h usability... no
checking linux/ppdev.h presence... no
checking for linux/ppdev.h... no
checking dev/ppbus/ppi.h usability... yes
checking dev/ppbus/ppi.h presence... yes
checking for dev/ppbus/ppi.h... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking IOKit/IOKitLib.h usability... no
checking IOKit/IOKitLib.h presence... no
checking for IOKit/IOKitLib.h... no
checking for asm/io.h... no
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
checking return type of signal handlers... void
checking for size_t... yes
checking for pid_t... yes
checking for ssize_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_char... yes
checking for u_int... yes
checking for u_long... yes
checking for long long support... yes
checking for socklen_t in <sys/socket.h>... no
checking for union semun in <sys/sem.h>... yes
checking for sg_header.target_status in <scsi/sg.h>... no
checking for struct flock in fcntl.h... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working alloca.h... no
checking for alloca... no
checking whether `alloca.c' needs Cray hooks... no
checking stack direction for C alloca... -1
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... no
checking for working mmap... no
checking for atexit... no
checking for inet_addr... no
checking for inet_aton... no
checking for inet_ntoa... no
checking for ioperm... no
checking for mkdir... no
checking for scsireq_enter... no
checking for strftime... no
checking for strstr... no
checking for strtod... no
checking for cfmakeraw... no
checking for tcsendbreak... no
checking for strcasecmp... no
checking for strncasecmp... no
checking for _portaccess... no
checking for getaddrinfo... no
checking for getnameinfo... no
checking for poll... no
checking for getenv... no
checking for inet_ntop... no
checking for inet_pton... no
checking for isfdtype... no
checking for sigprocmask... no
checking for snprintf... no
checking for strdup... no
checking for strndup... no
checking for strsep... no
checking for usleep... no
checking for vsyslog... no
checking for usb_get_busses in -lusb... no
sparc64: not found
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for /usr/libexec/elf/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for dlfcn.h... (cached) yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 16384
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc static flag  works... no
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the c++ linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.8 ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.8 ld.so
checking host system type... i386-unknown-freebsd4.8
checking for ranlib... ranlib
checking whether we are using GNU C... yes
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking whether ln -s works... yes
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd4.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
enabling DC210/DC240 backends
disabling CANON_PP backend (failed to find required libieee1284 version)
disabling HPSJ5S backend (failed to find required libieee1284 version)
enabling GPHOTO2 backend
disabling PINT backend
disabling QuickCam backend
disabling Video4Linux backend
enabling NET backend
enabling SnapScan backend
scsi buffersize: 131072
disabling SM3600 backend
enabling translations
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating sanei/Makefile
config.status: creating frontend/Makefile
config.status: creating japi/Makefile
config.status: creating backend/Makefile
config.status: creating include/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating tools/Makefile
config.status: creating tools/sane-desc.el
config.status: creating tools/sane-config
config.status: creating include/sane/config.h
Variables used for compilation/linking:
using CPPFLAGS=3D"-I/usr/local/include -DPATH_SANE_CONFIG_DIR=3D$(configdir=
)
-DPATH_SANE_DATA_DIR=3D$(datadir) -DV_MAJOR=3D1 -DV_MINOR=3D0
-I/usr/local/include/gphoto2 -I/usr/local/include"
using CFLAGS=3D"-O2 -pipe -march=3Dk6 -W -Wall"
using LDFLAGS=3D" -L/usr/local/lib"
using LIBS=3D"-lcam -lm -L/usr/local/lib -lc -ljpeg -lgphoto2 -lm"
Installation directories:
Configuration: /usr/local/etc
Libraries:     /usr/local/lib
Binaries:      /usr/local/bin and /usr/local/sbin
Manpages:      /usr/local/man
Network parameters:
IPv6 support:  no
****************************************************************
* Please be sure to read file PROBLEMS in this directory       *
* BEFORE running any of the SANE applications.  Some devices   *
* may be damaged by inproper operation, so please do heed this *
* advice.                                                      *
****************************************************************
=3D=3D=3D>  Building for sane-backends-1.0.12_2
making all in include
gmake[1]: Entering directory
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.12/include'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.12/include'
making all in lib
gmake[1]: Entering directory
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.12/lib'
cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include
-I/usr/local/include -DPATH_SANE_CONFIG_DIR=3D/usr/local/etc/sane.d  =20
-DPATH_SANE_DATA_DIR=3D/usr/local/share           -DV_MAJOR=3D1 -DV_MINOR=
=3D0
-I/usr/local/include/gphoto2 -I/usr/local/include -O2 -pipe -march=3Dk6 -W
-Wall getenv.c
getenv.c:13: #error "Missing getenv() on this platform.  Please
implement."
getenv.c: In function `getenv':
getenv.c:6: warning: unused parameter `name'
gmake[1]: *** [getenv.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.12/lib'
gmake: *** [all-recursive] Error 1
*** Error code 2
=20
Stop in /usr/ports/graphics/sane-backends.
*** Error code 1
=20
Stop in /usr/ports/graphics/sane-backends.
[jakobbg@dune sane-backends]$



--=20
Jakob Breivik Grimstveit, http://www.grimstveit.no/jakob/, +47 48298152=20

--=-WOoZ8PSPHdpBFO8Sjg5d
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA/Or36qnSGjTijL7IRAkliAKC3ognmTpEQEJaN95kGbHh3tL8pvwCfWzCg
3/CgZIw2QUXaHHUdezGG1fA=
=dWBX
-----END PGP SIGNATURE-----

--=-WOoZ8PSPHdpBFO8Sjg5d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1060814330.584.19.camel>