On 8/1/06, Brent Bushnell <[EMAIL PROTECTED]> wrote: > Hi folks, > > I'm having troubles building OpenMotif3. My problem was described > exactly here: > > http://thread.gmane.org/gmane.os.apple.fink.general/13686/focus=13686 > > However the solution outlined was not particularly clear. > > I'm running: > OSX v10.4.7 > Xcode 2.0 > [EMAIL PROTECTED] ~]$ fink -V > Package manager version: 0.24.25 > Distribution version: 0.8.0.rsync powerpc > > To recap, the problem, on running the following: > [EMAIL PROTECTED] ~]$ sudo fink install openmotif3 > > the build fails with: > gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/X11R6/include - > I./../../../lib -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI - > DXNO_MTSAFE_TIMEAPI -Wall -Wno-unused -Wno-comment -c recv.c > recv.c: In function 'WSMDefaultOwnSelection': > recv.c:113: warning: implicit declaration of function 'GetTimestamp' > gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/X11R6/include - > I./../../../lib -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI - > DXNO_MTSAFE_TIMEAPI -Wall -Wno-unused -Wno-comment -c send.c > In file included from /usr/X11R6/include/Xm/DragC.h:29, > from /usr/X11R6/include/Xm/DragDrop.h:29, > from /usr/X11R6/include/Xm/Transfer.h:29, > from send.c:42: > /usr/X11R6/include/Xm/Xm.h:1673: error: parse error before > "XmConvertCallbackStruct"
This was not installed as part of Apple's X11 or by Fink. As a general note, anything that gets installed under /usr/X11R6 that isn't part of a standard X11 distro can cause build problems for Fink. Moving/removing the /usr/X11R6/include/Xm directory while you build should solve it. > send.c: In function 'WSMSendMessage': > send.c:92: warning: implicit declaration of function 'GetTimestamp' > make[3]: *** [send.o] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all-recursive] Error 1 > ### execution of /var/tmp/tmp.1.6sWziI failed, exit code 2 > Removing build lock... > /sw/bin/dpkg-lockwait -r fink-buildlock-openmotif3-2.2.3-11 > (Reading database ... 10247 files and directories currently installed.) > Removing fink-buildlock-openmotif3-2.2.3-11 ... > Failed: phase compiling: openmotif3-2.2.3-11 failed > > > Any thoughts that anyone has would be hugely helpful! > > Thanks, > > Brent. > > -- Alexander K. Hansen Fink Documenter (still) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
