[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Problem running gui apps in Freebsd 4.8

From: pancake
Subject: Re: [DotGNU]Problem running gui apps in Freebsd 4.8
Date: Tue, 30 Mar 2004 10:35:55 +0200

> ports, I am the maintainer of the pnet suite on freebsd and
> ln -s /usr/X11R6/lib/ /usr/X11R6/lib/
> isn't an option. I'm trying to figure out how to get pnet to call 
> libraries in
> libX.X format instead of libX.X.X format.
> michael

brbrb, that's ugly, under fbsd you have the libmap... I think that it's only in 
current...true haha.

Well I pack pnet for pkgsrc and take the same problem, but it's a compilation 
problem: Just adding -Wl,-R/usr/X11R6/lib flags  to the linker this will no 

But the main problem is that after that:

[126:~/prg]$ cscc win.cs -winforms
[0:~/prg]$ ilrun  a.out 
/usr/pkg/lib/cscc/lib/ Undefined PLT symbol 
"FcPatternCreate" (symnum = 50)

that's an internal problem with X11Libs...exactly in libXft...that's because 
we're looking first in /usr/X11R6/lib libraries and in second term the user 
libs /usr/pkg/lib...

Well the simplest solution consists in building pnetlib without Xft2 support. 
Take a look:

[0:/usr/pkgsrc/lang/pnetlib]# diff -u Makefile.orig Makefile
--- Makefile.orig       2004-03-30 09:32:34.000000000 +0000
+++ Makefile    2004-03-30 09:32:28.000000000 +0000
@@ -5,12 +5,12 @@
 USE_X11=               yes
-CONFIGURE_ARGS+=       --enable-xft
+#CONFIGURE_ARGS+=      --enable-xft
 CONFIGURE_ARGS+=       --with-x
 PLIST_SUBST+=          WITH_X11=
 CONFLICTS=             pnetlib-nox11-[0-9]*
-.include "../../fonts/Xft2/"
+#.include "../../fonts/Xft2/"
 .include "../../mk/"


In ports I think that it will be something similar....Fonts wouldn't be so 
clear but all will work fine.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]