Christian Ebert | 22 Nov 13:40
X-Face

Re: shared-mime-info fails to build

* Martin Costabel on Saturday, November 22, 2008 at 13:01:00 +0100
> Christian Ebert wrote:
> []
>> Merging translations into freedesktop.org.xml.
>> dyld: loaded: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
>> dyld: lazy symbol binding failed: Symbol not found: _XML_ParserCreate_MM
>>  Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
>>  Expected in: dynamic lookup
> 
> Hmm... And your Expat.bundle is really linked with 
> /sw/lib/libexpat.1.dylib? Meaning,
> 
> otool -L 
> /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle

Ah, we're getting somewhere:

$ otool -L /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
/sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle:
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.1)

> really shows /sw/lib/libexpat.1.dylib?

It doesn't. Strange.

> If not, one would need to find out what happened when you rebuilt 
> xml-parser-pm588.

Well. Guess what? I rebuilt xml-parser-pm588 (again), and now
(Continue reading)

Christian Ebert | 22 Nov 10:51
X-Face

Re: shared-mime-info fails to build

* Martin Costabel on Saturday, November 22, 2008 at 08:39:48 +0100
> Christian Ebert wrote:
> []
>> Yup. "sudo -s" was the next thing I tried. Unfortunately fink
>> rebuild still fails:
> []
> 
> If you run fink, there is no difference whether you do sudo -s 
> beforehand or not. But if you run the failing intltool-merge command by 
> hand, there is a difference. If you do "sudo -s; source /sw/bin/init.sh" 
> before you run the command, you get the same environment that fink uses 
> when it runs the command. If you use only "sudo", then some environment 
> variables are different, in particular PERL5LIB which influences the 
> perl search path.
> 
> You could also run, with the same effect as to PERL5LIB, the one-liner
> 
> sudo env DYLD_PRINT_LIBRARIES=1 env PERL5LIB=$PERL5LIB \
> LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache \
> ./po freedesktop.org.xml.in freedesktop.org.xml
> 
> All this so that we get a chance to see what is really happening when 
> your fink rebuild command gets to this point.

/sw/src/fink.build/shared-mime-info-0.40-2/shared-mime-info-0.40$ sudo env
DYLD_PRINT_LIBRARIES=1 env PERL5LIB=$PERL5LIB LC_ALL=C ./intltool-merge -x -u -c
./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml
dyld: loaded: /usr/bin/env
dyld: loaded: /usr/lib/libgcc_s.1.dylib
dyld: loaded: /usr/lib/libSystem.B.dylib
(Continue reading)

Martin Costabel | 21 Nov 20:14

Re: shared-mime-info fails to build

Christian Ebert wrote:
> * Martin Costabel on Friday, November 21, 2008 at 10:59:08 +0100
[]
>>> Why in hell doesn't it load /sw/lib/libexpat.1.dylib?
>> No idea. Although the real question is why the hell did it load 
>>
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle 
>> (which then loads /usr/lib/libexpat.1.dylib), instead of 
>> /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle 
>> which it had been complaining about when fink ran that same command.
> 
> Yeah, right.
> 
>> BTW, it does the same thing for me. 

After actually thinking about it, I see now why this is so: With "sudo" 
one gets a crippled environment. If you run

sudo -s
source /sw/bin/init.sh
env DYLD_PRINT_LIBRARIES=1 \
LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache \
./po freedesktop.org.xml.in freedesktop.org.xml

you get the same environment as fink, and you will see that Fink's 
Expat.bundle is loaded.

--

-- 
Martin

(Continue reading)

Martin Costabel | 21 Nov 12:19

Re: startx causes both gnome and kde to load

Richard E.Miles wrote:
> I have been puzzled by this for quite some time. When I start up using  
> startx both gnome and kde start but my .xinitrc file just calls kde to  
> start. This seems strange to me. Here is my .xinitrc file:

> #!/bin/bash
> /sw/bin/esd &
> . /sw/bin/init.sh
[garbage removed]
> quartz-wm --only-proxy &
> export KDEWM=e16
> /sw/bin/startkde >/tmp/kde.log 2>&1

> Why is this so?

Define "this". What do you mean by "gnome starts up"?
What system are you on, which versions of X11, fink?

--

-- 
Martin

-------------------------------------------------------------------------
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=/
Christian Ebert | 20 Nov 16:56
X-Face

Re: shared-mime-info fails to build

* Christian Ebert on Thursday, November 20, 2008 at 10:34:12 +0100
> * Daniel Macks on Wednesday, November 19, 2008 at 12:26:41 -0500
>> On Wed, Nov 19, 2008 at 06:08:41PM +0100, Martin Costabel wrote:
>>> Christian Ebert wrote:
>>>> After migrating from 10.4.11 to 10.5.5 shared-mime-info (needed
>>>> for fontforge) fails to build:
>>>> 
>>>> gcc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/include
-g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings  -L/sw/lib -o
test-subclassing test_subclassing-test-subclassing.o -L/sw/lib -lxml2 -lglib-2.0 -lintl
>>>> LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml
>>>> Generating and caching the translation database
>>>> Merging translations into freedesktop.org.xml.
>>>> dyld: lazy symbol binding failed: Symbol not found: _XML_ParserCreate_MM
>>>> Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
>>>> Expected in: dynamic lookup
>>> 
>>> This symbol should normally be supplied by /sw/lib/libexpat.1.dylib. 
>>> Maybe you need to rebuild/reinstall the expat1-shlibs package?
> 
> done
> 
>> ...or else rebuild/reinstall xml-parser-pm588.
> 
> done
> 
>> On my 10.4 machine, 'nm
>> -m' tells me that the symbol is supplied by libexpat, 'otool -L' says
>> that the .bundle is linked against libexpat.1.dylib, and 'nm -g' on
>> the .dylib confirms that it does indeed supply that symbol.
(Continue reading)

Daniel Macks | 19 Nov 18:26

Re: shared-mime-info fails to build

On Wed, Nov 19, 2008 at 06:08:41PM +0100, Martin Costabel wrote:
> Christian Ebert wrote:
> > Hello,
> > 
> > After migrating from 10.4.11 to 10.5.5 shared-mime-info (needed
> > for fontforge) fails to build:
> > 
> > gcc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/include -g
-O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings  -L/sw/lib -o test-subclassing
test_subclassing-test-subclassing.o -L/sw/lib -lxml2 -lglib-2.0 -lintl
> > LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml
> > Generating and caching the translation database
> > Merging translations into freedesktop.org.xml.
> > dyld: lazy symbol binding failed: Symbol not found: _XML_ParserCreate_MM
> >   Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
> >   Expected in: dynamic lookup
> 
> This symbol should normally be supplied by /sw/lib/libexpat.1.dylib. 
> Maybe you need to rebuild/reinstall the expat1-shlibs package?

...or else rebuild/reinstall xml-parser-pm588. On my 10.4 machine, 'nm
-m' tells me that the symbol is supplied by libexpat, 'otool -L' says
that the .bundle is linked against libexpat.1.dylib, and 'nm -g' on
the .dylib confirms that it does indeed supply that symbol.

dan

--

-- 
Daniel Macks
dmacks <at> netspace.org
(Continue reading)

Christian Ebert | 19 Nov 16:42
X-Face

shared-mime-info fails to build

Hello,

After migrating from 10.4.11 to 10.5.5 shared-mime-info (needed
for fontforge) fails to build:

gcc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/include -g -O2
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings  -L/sw/lib -o test-subclassing
test_subclassing-test-subclassing.o -L/sw/lib -lxml2 -lglib-2.0 -lintl
LC_ALL=C ./intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml
Generating and caching the translation database
Merging translations into freedesktop.org.xml.
dyld: lazy symbol binding failed: Symbol not found: _XML_ParserCreate_MM
  Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
  Expected in: dynamic lookup

dyld: Symbol not found: _XML_ParserCreate_MM
  Referenced from: /sw/lib/perl5/5.8.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle
  Expected in: dynamic lookup

make[1]: *** [freedesktop.org.xml] Trace/BPT trap
make[1]: *** Deleting file `freedesktop.org.xml'
make: *** [check-recursive] Error 1
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-shared-mime-info-0.40-2
(Reading database ... 54398 files and directories currently installed.)
Removing fink-buildlock-shared-mime-info-0.40-2 ...
Failed: phase compiling: shared-mime-info-0.40-2 failed

(Continue reading)

Martin Costabel | 17 Nov 22:17

Re: gnuplot & libpango

Alexander Hansen wrote:

> On Nov 17, 2008, at 12:27 PM, Matthias Muench wrote:
> 
[]
>> dyld: Library not loaded: /sw/lib/pango-ft219/lib/libpango-1.0.0.dylib
>> Referenced from: /sw/bin/gnuplotx
>> Reason: Incompatible library version: gnuplotx requires version  
>> 2201.0.0 or later, but libpango-1.0.0.dylib provides version 1002.0.0
>> /sw/bin/gnuplot: line 6: 24339 Trace/BPT trap          /sw/bin/ 
>> gnuplotx "$@"

One explanation for such an error message is that the environment 
variable DYLD_LIBRARY_PATH is set and points to a directory in which an 
old version of libpango-1.0.0.dylib is hiding.

In such a case, Apple's dynamic loader dyld has a habit of lying in its 
error message: It shows not the actual faulty library, but the 
install_name of the library stored in the referencing executable.

If this is the explanation, remove the setting of this env variable. 
Setting it in an interactive shell is *always* a bad idea.

>> As I start gnuplot as admin it is no problem. Do you know whats wrong?

Since environment variables are set on a per-user basis, this would not 
be surprising.

--

-- 
Martin
(Continue reading)

Alexander Hansen | 17 Nov 22:10
Gravatar

Re: gnome on PPC


On Nov 17, 2008, at 2:28 PM, Stan Sanderson wrote:

> On OS 10.5.5, PPC, XCode 3.1.1, X11 2.3.1, unstable tree,
> (i) gnome-session-2.20.3-3 update fails with
>
> powerpc-apple-darwin9-gcc-4.0.1: /usr/X11/lib/
> libpixman-1.0.10.0.dylib: No such file or directory
> make[3]: *** [gnome-session] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
>

You didn't reference the build line before the failure, which would be  
useful since gnome-session ought to link to Fink's pixman and maybe we  
can see which flags are out of order.

> If the following lines from config.log mean anything...
>
> configure:3258: gcc -c -Os -fno-common -fno-common -I/sw/lib/
> freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/
> pango-ft219/include -I/sw/include/libcdparanoia -I/sw/include
> conftest.c >&5
> configure:3264: $? = 0
> configure:3271: test -z "$ac_c_werror_flag" || test ! -s conftest.err
> configure:3274: $? = 0
> configure:3281: test -s conftest.o
>
(Continue reading)

Gary K Olson | 17 Nov 20:29

GNOME keymap problem

I think I sent this message to wrong address (sorry), so I am sending  
it again.
I compiled bundle-gnome on my ibook which went well.  However, the  
generic keymap does not map to the ibook keyboard.  Am I missing some  
package that needs to be built that provides the proper keymap?  Also,  
is it possible to go rootless mode in Gnome?  I looked for a way to  
turn off the desktop or the desktop icons like is done in KDE to get  
into rootless mode, but I did not find any command to do this.  Thanks  
for the help.  My kit is:
Package manager version: 0.28.6
Distribution version: selfupdate-rsync Mon Nov 17 12:10:38 2008, 10.5,  
powerpc
OSX 10.5.5
Xtools 3.1
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)

Gary K Olson

-------------------------------------------------------------------------
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=/
Florian Lindner | 16 Nov 15:15

Simple sqlite GUI

Hello,

I'm looking a simple GUI for a sqlite database. I'll be using it for  
debugging a application I'm writing that uses such a database. Anyone  
knows such an app that is contained in fink?

Thanks,

Florian

-------------------------------------------------------------------------
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