On Sun, Dec 28, 2008 at 05:56:16PM +0100, Sabine Reffert wrote:
> Hello,
>
> I want to install openmotif3 via fink (Macos 10.4, PPC). The compilation  
> fails; I get the error message appended below.
> I think it's because of wrong versions of the libXm.dylib library.
> I found the following links in the
> /sw/src/fink.build/openmotif3-2.2.4-1/openmotif-2.2.4/lib/Xm/.libs/
> directory:
>
>     libXm.3.dylib -> libXm.3.0.0.dylib
>     libXm.dylib -> libXm.3.0.0.dylib
>
> However, when I look in /sw/lib/, I find the following library versions  
> and links:
>
>     libXm.2.0.1.dylib
>     libXm.2.dylib -> libXm.2.0.1.dylib
>     libXm.3.0.1.dylib
>     libXm.3.dylib -> libXm.3.0.1.dylib
>     libXm.4.0.0.dylib
>     libXm.4.dylib -> libXm.4.0.0.dylib
>     libXm.dylib -> libXm.2.0.1.dylib
>
> Thus, shouldn't I be using libXm.3.0.1.dylib, instead of  
> libXm.3.0.0.dylib??? How do I go about this?
>
> Any help is much appreciated!
>
> Thanks,
> Sabine
>
> -----------
> output of compilation process:
>
> In file included from wmldbcreate.c:90:
> UilLexPars.h:66:1: warning: "VERSION" redefined
> In file included from wmldbcreate.c:46:
> ../../include/config.h:278:1: warning: this is the location of the  
> previous definition
> /bin/sh ../../libtool --mode=link gcc  -DXNO_MTSAFE_STRINGAPI  
> -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_TIMEAPI -Wall -g -Wno-unused 
> -Wno-comment -L/sw/lib -
> o wmldbcreate  wmldbcreate.o ../../lib/Xm/libXm.la -L/usr/X11R6/lib -lXt
> gcc -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_TIMEAPI -Wall 
> -g -Wno-unused -Wno-comment -o .libs/wmldbcreate wmldbcreate.o  -L/sw/lib 
> .
> ./../lib/Xm/.libs/libXm.dylib -L/usr/X11R6/lib -lXmu -lSM -lICE -lXext  
> -lXp -lX11 -lXt
> gcc: ../../lib/Xm/.libs/libXm.dylib: No such file or directory
> make[2]: *** [wmldbcreate] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-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-openmotif3-2.2.4-1
> (Reading database ... 49270 files and directories currently installed.)
> Removing fink-buildlock-openmotif3-2.2.4-1 ...
> Failed: phase compiling: openmotif3-2.2.4-1 failed

Sabine,
   You might try something like...

sudo dpkg --force-depends -purge openmotif3 openmotif3-shlibs

...which should convert the dependency errors into warnings.
Then try 'fink rebuild openmotif3' again in a new terminal window.
      I would also prune down any .bashrc or .cshrc to only contain
the lines to source the fink init scripts. This will eliminate the possibility 
of
a stray copy of motif being mixed in with the build process.
                     Jack

------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to