Alexander Hansen wrote:
> Alexander Hansen wrote:
>> I've got a user who is reporting a problem with building tgif, and I 
>> haven't been able to reproduce it.  Could I prevail upon someone with 
>> 10.4 and Apple's X11 to try to build it at maximum Fink verbosity, and 
>> to send me a log if it fails for you?
>>
>> Thanks!
>>
>> --akh--
>>
>>   
> OK, I've gotten back a couple of responses:
> 
> "failure to build" with XFree86 from Robert Wyatt
> "Builds fine" with Apple's X11 from Christopher Bort
> 
> Thanks!
> 
> Now I'm stumped.
> 
> The error occurs as follows:
> 
> ...
> /usr/bin/install  -m 0444 LICENSE.QPL
> /sw/src/fink.build/root-tgif-4.1.45-2/sw/share/tgif
> install in . done
> + mkdir -p /sw/src/fink.build/root-tgif-4.1.45-2/sw/share/doc/tgif/html
> + /usr/bin/install -m 0444 tgif.1.html
> /sw/src/fink.build/root-tgif-4.1.45-2/sw/share/doc/tgif/html/tgif.1.html
> install: tgif.1.html: No such file or directory
> make: *** [install.man] Error 71
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-tgif-4.1.45-2
> 
> On the other hand, when I run it, I get the following:
> 
> ...
> /usr/bin/install  -m 0444 LICENSE.QPL 
> /Volumes/HansenArchive/fink.build/root-tgif-4.1.45-2/sw/share/tgif
> install in . done
> rm -f tgif._man
> if test -z "" ; then \
>    cd `dirname tgif` && \
>    ln -s `basename tgif.man` `basename tgif._man`; \
> else \
>                    /usr/bin/cpp -undef   
> -D__apploaddir__=/sw/lib/app-defaults -D__appmansuffix__=1 
> -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 
> -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 
> -D__xconfigfile__=xorg.conf -D__xconfigdir__=/sw/lib -D__xlogfile__=Xorg 
> -D__xservername__=Xorg -D__xorgversion__='"" ""' -D__vendorversion__="`echo 6 
> 8 2 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org"  \
>      < tgif.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d'                  -e 
> '/^#line  *[0-9][0-9]*  *.*$/d'                      -e '/^[         
> ]*XCOMM$/s/XCOMM/#/'                    -e '/^[         
> ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/'                        -e '/^[         
> ]*XHASH/s/XHASH/#/'                     -e '/[EMAIL PROTECTED]@$/s/[EMAIL 
> PROTECTED]@$/\\/'                     -e '/^#pragma GCC .*$/d' >tgif._man; \
> fi
> rm -f tgif.1.html tgif.1-html
> rman -f HTML < tgif._man \
>   > tgif.1-html && mv -f tgif.1-html tgif.1.html
> macro "" not recognized -- ignoring
> + mkdir -p 
> /Volumes/HansenArchive/fink.build/root-tgif-4.1.45-2/sw/share/doc/tgif/html
> + /usr/bin/install -m 0444 tgif.1.html 
> /Volumes/HansenArchive/fink.build/root-tgif-4.1.45-2/sw/share/doc/tgif/html/tgif.1.html
> ...(and so on until the build succeeds)

This looks similar to a problem with building xfig which we hunted down 
some time ago.
<http://thread.gmane.org/gmane.os.macosx.fink.user/18269/focus=18326>
The root of the problem was that the xmkmf/imake build system changed in 
some version of xfree86-4.5, so that the man stuff was no longer built 
automatically by "make install". It had to be made earlier.

The fix for xfig was simple, instead of running "make xfig" in the 
CompileScript, just run "make", which is equivalent to "make all". You 
could try to do this for tgif, too, i.e. remove "tgif" from the second 
line of the CompileScript.

-- 
Martin





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

Reply via email to