https://sourceforge.net/tracker/index.php?func=detail&aid=2843997&group_id=17203&atid=117203

Original text by submitter:

=====

In attempting to install cdrtools-2.01.01-10.4.47, I run in to a problem
where libintl.h cannot be found:

==> MAKING DEPENDENCIES "OBJ/i386-darwin-cc/fjmem.d"
In file included from fjmem.c:31:
../include/schily/nlsdefs.h:26:38: error: libintl.h: No such file or
directory
==> MAKING DEPENDENCIES "OBJ/i386-darwin-cc/jmem.d"
In file included from jmem.c:31:
../include/schily/nlsdefs.h:26:38: error: libintl.h: No such file or
directory
==> MAKING DEPENDENCIES "OBJ/i386-darwin-cc/mem.d"
In file included from mem.c:30:
../include/schily/nlsdefs.h:26:38: error: libintl.h: No such file or
directory

...and on and on and on.

I propose the attached patch, or a variation on its theme, to re-write
DEFAULTS/Defaults.darwin before passing control to Schily's make system.
It updates:

DEFINCDIRS - Add %p/include
LDFLAGS - Replace value entirely with -L%p/lib
#RUNPATH - Uncomment and replace entirely with -R%p/lib (don't know if  
this
is worthwhile)

INS_BASE - Set to %p
INS_KBASE - Set to $(INS_BASE)
INS_RBASE - Set to $(INS_KBASE)

INS_BASE is set during the make install stage, but the various tools  
will
look for defaults under the INS_KBASE directories. This should keep them
looking under the fink tree, instead of the OS X /etc.

My configuration is:
ProductName:    Mac OS X
ProductVersion: 10.5.8
BuildVersion:   9L31a

Package manager version: 0.29.8
Distribution version: selfupdate-rsync Sun Aug 23 18:31:29 2009, 10.5,
i386

Xcode 3.1.2

=====

I haven't been able to reproduce his build error on a similar  
configuration (the only noticeable difference is that I'm running  
Xcode 3.1.3). At any rate, he's provided a patch that seems to fix the  
build error on his box.


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to