Jean-François Mertens | 1 Dec 2008 02:58
Picon
Favicon

linuxdcpp-1.0.2-4 fails configure

With xorg installed, I get during configure :

> Package x11 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `x11.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'x11' found
> Package xext was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xext.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xext' found
> Package xinerama was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xinerama.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xinerama' found
> Package xrandr was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xrandr.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xrandr' found
> OSError: 'pkg-config --libs libglade-2.0 fontconfig x11 xext  
> xrender xinerama xrandr xcursor xfixes xcomposite xdamage' exited 1:

Looks the culprit is the line in the PatchScript :
/usr/bin/perl -pi -e 's|libs libglade-2.0|$& fontconfig x11 xext  
xrender xinerama xrandr xcursor xfixes xcomposite xdamage|' SConstruct

Maybe it can be shortened _ or else put in some "if" clause ...
Removing it, and adding to the LDFLAGS -L/usr/X11R6/lib -lX11
gives me a kosher build...

JF Mertens
(Continue reading)

William Scott | 1 Dec 2008 03:55
Favicon

Re: reportlab-py ; gtk-canvas


Hi Jean-François:

On Nov 30, 2008, at 5:14 PM, Jean-François Mertens wrote:

> (On the other hand, William, I'm not quite sure installing that  
> symlink to the headers of another pkg is the best idea ...
> Can users of gtk-canvas-dev not give the proper  -I  flag ? )

There was a good reason for this once.  I'll have to try to  
reconstruct what it was. I had a lot of "help" with this package. It  
is on revision 28.

I made it as a dependency for coot, another package I maintain.  It is  
no longer required. I believe it is also obsolete. I grepped through  
all the info files in 'unstable' and could find no other packages this  
depends upon.

Any objection if I just get rid of the damn thing?

William G. Scott

Contact info:
http://chemistry.ucsc.edu/~wgscott/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
(Continue reading)

Martin Costabel | 1 Dec 2008 08:17
Picon

Re: linuxdcpp-1.0.2-4 fails configure

Jean-François Mertens wrote:
> With xorg installed, I get during configure :
> 
>> Package x11 was not found in the pkg-config search path.
[]
> Looks the culprit is the line in the PatchScript :
> /usr/bin/perl -pi -e 's|libs libglade-2.0|$& fontconfig x11 xext  
> xrender xinerama xrandr xcursor xfixes xcomposite xdamage|' SConstruct
> 
> Maybe it can be shortened _ or else put in some "if" clause ...
> Removing it, and adding to the LDFLAGS -L/usr/X11R6/lib -lX11
> gives me a kosher build...

Ah, you are on 10.4. About time we phase this out (just kidding, you 
still have 1 or 2 months until 10.6 arrives :-) ). It is really a pity 
that the new gdk-x11-2.0.pc is so crippled. The old one did the right 
thing both on 10.4 and 10.5:

On 10.5 it had

> Requires: gdk-pixbuf-2.0 pango pangocairo fontconfig x11 xext xrender xinerama xrandr xcursor xfixes
xcomposite xdamage
> Libs: -L${libdir} -lgdk-${target}-2.0

(this is where I got the list of additional pc packages from)

On 10.4 it had

> Requires: gdk-pixbuf-2.0 pango pangocairo fontconfig xcursor
> Libs: -L${libdir} -lgdk-${target}-2.0  -L/usr/X11R6/lib -lXrandr -lXrender -lXinerama  -lXext -lX11
(Continue reading)

Jean-François Mertens | 1 Dec 2008 19:12
Picon
Favicon

Re: linuxdcpp-1.0.2-4 fails configure


On 01 Dec 2008, at 15:27, Hanspeter Niederstrasser wrote:

> Jean-François Mertens wrote:
>> Removing it, and adding to the LDFLAGS -L/usr/X11R6/lib -lX11
>> gives me a kosher build...
>>

> Can you check the latest version in my personal tree <http:// 
> cvs.snaggledworks.com/viewvc.cgi/fink/10.4/main/finkinfo/net/ 
> linuxdcpp.info>?  I've gone back to using SetLDFLAGS: -L/usr/X11R6/ 
> lib -lX11.
A diff shows it is exactly what I tested yesterday, apart from the deps.
So went straigt to checking deps.
>  It works on 10.5 and had the added benefit of reducing the  
> dependency tree so I trimmed them out as well.
>
> And to be sure, can you check the rebuild w/ the following packages  
> removed:
> bzip2-dev cairo glitz pixman freetype219 fontconfig2-dev

Copying from my log, I get :

Checking for C library bz2... yes
...
g++ -o linuxdcpp -L/sw/lib/system-openssl/lib -L/usr/X11R6/lib -lX11 - 
L/usr/lib -Wl,-framework,CoreServices -Wl,- 
framework,ApplicationServices build/client/AdcCommand.o build/client/ 
AdcHub.o build/client/ADLSearch.o build/client/BufferedSocket.o build/ 
client/BZUtils.o build/client/Client.o build/client/ClientManager.o  
(Continue reading)

Jean-François Mertens | 1 Dec 2008 19:48
Picon
Favicon

Re: linuxdcpp-1.0.2-4 fails configure

Hi Hanspeter,

Forgot to add in my previous msg that also you rely
on freetype and fontconfig in X11; I have no idea if
this works especially with all the different X11's users
might have.
In the upgrade to pangocairo at least, great care was
taken to make all pkgs use fink's freetype(219) and
fontconfig ...

Best,

Jean-Francois

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Jean-François Mertens | 2 Dec 2008 00:48
Picon
Favicon

Re: linuxdcpp-1.0.2-4 fails configure


On 01 Dec 2008, at 21:06, Hanspeter Niederstrasser wrote:

> Thanks for your help. I normally try to use only fink libraries,  
> but there are a couple issues here that make it difficult for this  
> package.  First, in order to use system-openssl, I need to unset  
> LDFLAGS (which has -L/sw/lib).  If I don't unset LDFLAGS, the build  
> log crashes like this (with the latest libiconv installed in Fink):
<snip>
>
> So I _need_ to remove -L/sw/lib and use the system iconv.  This  
> then removes the ability to easily link to Fink's libbz2 and libxml2.
>
> Also, I haven't been able to get it to use Fink's fontconfig2, even  
> if I explicitly put -L/sw/lib/fontconfig2/lib -lfontconfig before  
> X11 in the linker line via pkg-config.
>
> I've uploaded a new info file that conditionals the missing x11  
> flags based on Martin's previous message about 10.4/10.5 gdk- 
> x11-2.0.pc differences.  Could you test it out and let me know the  
> results?  I think I added all the available x*.pc files that are on  
> 10.4, but in case I missed one, it should be easy to add.

Checked with the previous info file, which should be functionally  
equivalent.
First, to get things basically straight, I added to the patchscript  
the line

sed -i'' -e '\XL/usr/libXd' SConstruct

(Continue reading)

Jean-François Mertens | 2 Dec 2008 01:15
Picon
Favicon

Re: linuxdcpp-1.0.2-4 fails configure


On 02 Dec 2008, at 00:48, Jean-François Mertens wrote:

>> # egrep '^\.+ /' /sw/var/logs/linuxdcpp.log|sort -u|sed -r -e 's,^ 
>> \.+ ,,'|sort -u|egrep -v '^/usr/|system-openssl'|xargs dpkg -S|cut  
>> -f1 -d:|sort -u|xargs
>> atk1 cairo glib2-dev gtk+2-dev libgettext3-dev libglade2 pango1- 
>> xft2-ft219-dev
>
> So indeed nothing else...

This is clearly wrong _ pkgs like bzip2 and libiconv-dev are missing;
and indeed I see from the output of the above command , truncated
before the  "egrep -v '^/usr/" , that e.g. iconv.h and bzlib.h are  
taken from
/usr/include ...

So an additional fix with the -I flags is needed, as with the -L flags.
Is late; will look at it tomorrow.

Jean-Francois
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Jean-François Mertens | 2 Dec 2008 05:22
Picon
Favicon

Re: linuxdcpp-1.0.2-4 fails configure


On 02 Dec 2008, at 01:15, Jean-François Mertens wrote:

>
> On 02 Dec 2008, at 00:48, Jean-François Mertens wrote:
>
>>> # egrep '^\.+ /' /sw/var/logs/linuxdcpp.log|sort -u|sed -r -e 's,^ 
>>> \.+ ,,'|sort -u|egrep -v '^/usr/|system-openssl'|xargs dpkg -S| 
>>> cut -f1 -d:|sort -u|xargs
>>> atk1 cairo glib2-dev gtk+2-dev libgettext3-dev libglade2 pango1- 
>>> xft2-ft219-dev
>>
>> So indeed nothing else...
>
> This is clearly wrong _ pkgs like bzip2 and libiconv-dev are missing;
> and indeed I see from the output of the above command , truncated
> before the  "egrep -v '^/usr/" , that e.g. iconv.h and bzlib.h are  
> taken from
> /usr/include ...
>
> So an additional fix with the -I flags is needed, as with the -L  
> flags.
> Is late; will look at it tomorrow.

Woke up, and checked again:

(In addition to previous amendments) :

1)
Reduce the PatchScript to the single line:
(Continue reading)

Alexander Hansen | 2 Dec 2008 22:02
Picon
Gravatar

Re: ztrack-1.0-1


On Nov 28, 2008, at 11:09 AM, Julien Fontaine wrote:

>
>
> --
> Package manager version: 0.27.13
> Distribution version: 0.9.0 i386
> Mac OS X version: 10.5.4
> Developer Tools not installed
> Feedback Courtesy of FinkCommander
>

Fink Commander doesn't distinguish between positive and negative  
feedback.  Which is this?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Alexander Hansen | 2 Dec 2008 22:04
Picon
Gravatar

Re: freetype219-2.3.7-7


On Nov 28, 2008, at 3:59 AM, Raphae Humayun Halim wrote:

> Can't install!
>
> --
> Package manager version: 0.28.6
> Distribution version: selfupdate-rsync Fri Nov 28 13:55:40 2008, 10.5,
> i386
> Mac OS X version: 10.5.5
> Xcode version: 3.0
> gcc version: 4.0.1 (Apple Inc. build 5465)
> make version: 3.79.1
> Feedback Courtesy of FinkCommander

Can't help you.  You've provided absolutely no useful information,  
such as the error you got when you tried to install the package.
Look at the output and post starting from just before errors show up.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane