Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

redland build failure

12 views
Skip to first unread message

Jan Henrik Sylvester

unread,
Aug 9, 2008, 11:09:54 PM8/9/08
to ports-list freebsd, Chuck Swiger
Trying to build kde4, I got stuck at redland:

mkdir .libs
cc -DLIBRDF_INTERNAL=1 -O2 -fno-strict-aliasing -pipe
-DLIBRDF_INTERNAL=1 -O2 -fno-strict-aliasing -pipe -rpath=/usr/local/lib
-o .libs/redland-db-upgrade db_upgrade.o -rpath=/usr/local/lib
-L/usr/local/lib ../librdf/.libs/librdf.so -L/usr/local/lib/mysql
/usr/ports/textproc/redland/work/redland-1.0.7/rasqal/src/.libs/librasqal.so
/usr/local/lib/libraptor.so /usr/local/lib/libcurl.so -lssl
/usr/local/lib/libxslt.so /usr/local/lib/libxml2.so
/usr/local/lib/libiconv.so /usr/local/lib/libmpfr.so
/usr/local/lib/libgmp.so -ldb-4.2 -lcrypto
/usr/local/lib/mysql/libmysqlclient.so -lz -lcrypt -lm
/usr/local/lib/libsqlite3.so -pthread -lpq -Wl,--rpath
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib/mysql
../librdf/.libs/librdf.so: undefined reference to `db_create'
../librdf/.libs/librdf.so: undefined reference to `db_strerror'
gmake[1]: *** [redland-db-upgrade] Error 1
gmake[1]: Leaving directory
`/usr/ports/textproc/redland/work/redland-1.0.7/utils'
gmake: *** [all-recursive] Error 1
*** Error code 2

I am on 7.0 with all ports up to date. I have no nonstandard OPTIONS for
any dependencies.

It seems to have picked up mysql-client although I did not have
WITH_MYSQL on.

Do I miss anything?

Cheers,
Jan Henrik

Masoom Shaikh

unread,
Aug 10, 2008, 2:21:13 AM8/10/08
to Jan Henrik Sylvester, Chuck Swiger, ports-list freebsd
I confirm this error, I encountered it too few days back while attempting
same....I gave up due to lack of time...

> _______________________________________________
> freebs...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-port...@freebsd.org"
>

mcassar

unread,
Aug 10, 2008, 3:31:05 AM8/10/08
to freebs...@freebsd.org

i had the same problem but found a quick fix if you are building kde4 and want
to get unstuck. there's a package here

http://packages.miwibox.org/beta2/i386/7.0/All/

looks to me it's same version.

Max Brazhnikov

unread,
Aug 10, 2008, 5:36:13 AM8/10/08
to freebs...@freebsd.org, Jan Henrik Sylvester, Chuck Swiger, Martin Wilke
On Sun, 10 Aug 2008 05:09:54 +0200, Jan Henrik Sylvester wrote:
> Trying to build kde4, I got stuck at redland:
>
> mkdir .libs
> cc -DLIBRDF_INTERNAL=1 -O2 -fno-strict-aliasing -pipe
> -DLIBRDF_INTERNAL=1 -O2 -fno-strict-aliasing -pipe -rpath=/usr/local/lib
> -o .libs/redland-db-upgrade db_upgrade.o -rpath=/usr/local/lib
> -L/usr/local/lib ../librdf/.libs/librdf.so -L/usr/local/lib/mysql
> /usr/ports/textproc/redland/work/redland-1.0.7/rasqal/src/.libs/librasqal.s
>o /usr/local/lib/libraptor.so /usr/local/lib/libcurl.so -lssl
> /usr/local/lib/libxslt.so /usr/local/lib/libxml2.so
> /usr/local/lib/libiconv.so /usr/local/lib/libmpfr.so
> /usr/local/lib/libgmp.so -ldb-4.2 -lcrypto
> /usr/local/lib/mysql/libmysqlclient.so -lz -lcrypt -lm
> /usr/local/lib/libsqlite3.so -pthread -lpq -Wl,--rpath
> -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib/mysql
> .../librdf/.libs/librdf.so: undefined reference to `db_create'
> .../librdf/.libs/librdf.so: undefined reference to `db_strerror'

> gmake[1]: *** [redland-db-upgrade] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/textproc/redland/work/redland-1.0.7/utils'
> gmake: *** [all-recursive] Error 1
> *** Error code 2
>
> I am on 7.0 with all ports up to date. I have no nonstandard OPTIONS for
> any dependencies.
>
> It seems to have picked up mysql-client although I did not have
> WITH_MYSQL on.
>
> Do I miss anything?

I've submitted ports/126410 with fix, waiting for maintainer approval.

Max

Chuck Swiger

unread,
Aug 10, 2008, 11:42:38 AM8/10/08
to ma...@issp.ac.ru, Jan Henrik Sylvester, freebs...@freebsd.org, Martin Wilke
Hi, all--

If this patch fixes the issue, by all means. I've submitted a
followup response to that effect to ports/126410. :-)

Regards,
--
-Chuck

0 new messages