Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2013 21:23:04 +0200
From:      cpghost <cpghost@cordula.ws>
To:        johans@FreeBSD.org, ports@freebsd.org
Cc:        bug-followup@FreeBSD.org
Subject:   Re: ports/172837: lang/swi-pl compiles with databases/libiodbc
Message-ID:  <51E2FA98.2060507@cordula.ws>

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

thank you for closing pr/172837 and for updating lang/swi-pl to
version 6.2.6.

Unfortunately, when OPTION iodbc is selected, the port now fails
to compile:

===>   Compressing manual pages for libiodbc-3.52.8
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for libiodbc-3.52.8
===>   Returning to build of swi-pl-6.2.6
Error: shared library "odbc" does not exist
*** [lib-depends] Error code 1

Stop in /usr/ports/lang/swi-pl.
*** [build] Error code 1

Stop in /usr/ports/lang/swi-pl.

When applying the following patch to the port's Makefile:

--------- cut here ------------ cut here ------------------------
--- Makefile.orig       2013-07-14 21:08:14.000000000 +0200
+++ Makefile    2013-07-14 21:08:24.000000000 +0200
@@ -43,7 +43,7 @@
 .if ${PORT_OPTIONS:MUNIXODBC}
 LIB_DEPENDS+=  odbc:${PORTSDIR}/databases/unixODBC
 .else
-LIB_DEPENDS+=  odbc:${PORTSDIR}/databases/libiodbc
+LIB_DEPENDS+=  iodbc:${PORTSDIR}/databases/libiodbc
 .endif

 .include <bsd.port.pre.mk>
--------- cut here ------------ cut here -----------------------

compilation proceeds until the following error message:

**********************
* Package plunit
**********************
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
configure: creating ./config.status
config.status: creating Makefile
**********************
* Package jpl
**********************
checking for gmake... gmake
checking for etags... etags
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking whether byte ordering is bigendian... no
checking build system type... x86_64-pc-freebsd
checking host system type... x86_64-pc-freebsd
configure: checking Java configuration...
checking for jikes... no
checking for javac... javac
checking if javac works... yes
checking for kaffe... no
checking for java... java
checking for uudecode... yes
checking if uudecode can decode base 64 file... yes
checking if java works... yes
checking for jar... jar
checking for javadoc... javadoc
checking for javac... /usr/local/bin/javac
checking for javac... (cached) /usr/local/bin/javac
checking symlink for /usr/local/bin/javac... /usr/local/bin/javavm
configure: error: cannot find java include files
gmake[1]: *** [configure] Error 1
gmake[1]: Leaving directory `/usr/ports/lang/swi-pl/work/pl-6.2.6/packages'
gmake: *** [packages] Error 1
*** [do-build] Error code 1

Stop in /usr/ports/lang/swi-pl.
*** [build] Error code 1

Stop in /usr/ports/lang/swi-pl.

What gives? I have openjdk6-b27_3 installed...

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



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