[Fink-devel] fink breakage?

2004-08-28 Thread Jack Howarth
Daniel,
   William Scott just pointed out that fftw now creates shared libs
with dependencies into /sw/src.

otool -L /sw/lib/libdfftw.2.dylib
/sw/lib/libdfftw.2.dylib:
/sw/src/root-fftw-mpi-2.1.5-6/sw/lib/libdfftw.2.dylib (compatibility version 
3.0.0, current version 3.7.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 
71.1.1)

I have fixed this with a new fftw 2.1.5-7 packaging which moves
'--infodir=%p/share/info' into ConfigureParams and changes the
occurances of...

make install prefix=%i infodir=%i/share/info

...into...

make install DESTDIR=%d

Interestingly, when I was creating the gromacs packages and the
shared lib version of lammpi, I ran into the same issue. If
I used 'make install prefix=%i' rather than 'make install DESTDIR=%d'
the shared libs ended up with linkages into /sw/src.
 Is the use of 'make install prefix=%i' wrong? Should we only
stick with 'make install DESTDIR=%d'? Or are we seeing some sort
of breakage in fink itself?
   Jack


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] fink breakage?

2004-08-28 Thread Hanspeter Niederstrasser
On Sat, 28 Aug 2004, Jack Howarth wrote:
Interestingly, when I was creating the gromacs packages and the
shared lib version of lammpi, I ran into the same issue. If
I used 'make install prefix=%i' rather than 'make install DESTDIR=%d'
the shared libs ended up with linkages into /sw/src.
Is the use of 'make install prefix=%i' wrong? Should we only
stick with 'make install DESTDIR=%d'? Or are we seeing some sort
of breakage in fink itself?
  Jack
For the record, I saw something similar with dcgui-qt and dclib0.  If I 
used 'make install prefix=%i' (which is the default InstallScript), I had 
things being misplaced into %d (I think) and not %d%p during the 
package building.  Like Jack, I had to use 'make install DESTDIR=%d' to 
get everything working.

Hanspeter
--
I'm not a robot like you. I don't like having disks crammed into me... unless
they're Oreos, and then only in the mouth. -- Fry
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] fink breakage?

2004-08-28 Thread Peter O'Gorman
Hanspeter Niederstrasser wrote:
On Sat, 28 Aug 2004, Jack Howarth wrote:
Interestingly, when I was creating the gromacs packages and the
shared lib version of lammpi, I ran into the same issue. If
I used 'make install prefix=%i' rather than 'make install DESTDIR=%d'
the shared libs ended up with linkages into /sw/src.
This is due to gnu libtool relinking on make install, I think. Depending on 
the version of gnu libtool that the package used etc. this may or may not be 
an issue, however since this package uses libtool, it probably uses automake 
as well and if the version of automake used is not prehistoric it will 
understand DESTDIR...

Is the use of 'make install prefix=%i' wrong? Should we only
stick with 'make install DESTDIR=%d'? Or are we seeing some sort
of breakage in fink itself?
DESTDIR is preferred if it works, it does not always work however, so the 
default is 'make install prefix=%i', please always try DESTDIR and use it if 
it works.

Thanks,
Peter
--
Peter O'Gorman - http://www.pogma.com
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] fink breakage?

2004-08-29 Thread Jack Howarth
Peter,
   I am using the libtool from Xcode 1.5. Unfortunately I don't
see a way to tell what version that libtool is. Perhaps if a
package needs to use ''make install prefix=%i', it should have
an explicit BuildDepends on a specific libtool from fink devel?
Jack


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] fink breakage?

2004-08-29 Thread Peter O'Gorman
Jack Howarth wrote:
Peter,
   I am using the libtool from Xcode 1.5. Unfortunately I don't
see a way to tell what version that libtool is. Perhaps if a
package needs to use ''make install prefix=%i', it should have
an explicit BuildDepends on a specific libtool from fink devel?
Jack
As often happens, I think you are confusing the two libtools :/. 
/usr/bin/libtool (the one you got from xcode-1.5) is apple's, it does not 
really affect install_name of the library. The libtool that is the issue is 
the one which ships with the package and is created in the source dir when 
you run ./configure. This is GNU libtool, and all versions of GNU libtool 
are guaranteed to give you headaches :(

BuildDepending on a libtool14 or libtool package from fink will not change 
the output, the package will use the gnu libtool that the upstream developer 
included when they made the distribution.

Peter
--
Peter O'Gorman - http://www.pogma.com
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] fink breakage?

2004-08-29 Thread Jack Howarth
Peter,
Perhaps the fink packaging manual should be corrected to
be more explicit about this problem. It should probably state
clearly that "make install DESTDIR=%d" is the perferred form
of installation (compared to using "make install prefix=%i")
whenever possible.
  Jack


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel