Original message:

Hello everyone,

I'm trying to boostrap install Fink 0.34.4 (on OS X 10.8.2 with XCode
4.5) in order to bundle some libraries with an application.

"./boostrap /sw" is successful while "./bootstrap
/Applications/MyApp.app/Contents/Resources/Fink" fails (see logfile).

Any ideas on how to correct this ?

Best regards,
Rafael Navaza.

================

We don't need to see the logs for successfully built packages, so I'm
just going to show the failure:

...
Selecting previously deselected package libgettext8-dev.
(Reading database ... 4054 files and directories currently installed.)
Unpacking libgettext8-dev (from
.../libgettext8-dev_0.18.1.1-1_darwin-x86_64.deb) ...
Selecting previously deselected package libgettext8-shlibs.
Unpacking libgettext8-shlibs (from
.../libgettext8-shlibs_0.18.1.1-1_darwin-x86_64.deb) ...
Selecting previously deselected package gettext-bin.
Unpacking gettext-bin (from
.../gettext-bin_0.18.1.1-1_darwin-x86_64.deb) ...
/Applications/MyApp.app/Contents/Resources/Fink/bootstrap/bin/dpkg:
error processing
/Applications/MyApp.app/Contents/Resources/Fink/fink/dists/stable/main/binary-darwin-x86_64/base/gettext-bin_0.18.1.1-1_darwin-x86_64.deb
(--install):
 unable to create
`MyApp.app/Contents/Resources/Fink/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo':
No such file or directory
dpkg: dependency problems prevent configuration of libgettext8-dev:
 libgettext8-dev depends on gettext-bin (>= 0.18.1.1-1); however:
  Package gettext-bin is not installed.
/Applications/MyApp.app/Contents/Resources/Fink/bootstrap/bin/dpkg:
error processing libgettext8-dev (--install):

 dependency problems - leaving unconfigured


I reproduced your issue.  When I checked the .deb archive I got:

$ dpkg -c
/Applications/MyApp.app/Contents/Resources/Fink/fink/debs/gettext-bin_0.18.1.1-1_darwin-x86_64.deb
| grep boldquot
drwxr-xr-x root/admin        0 2012-10-06 18:10
./Applications/MyApp.app/Contents/Resources/Fink/share/locale/en@boldquot/
drwxr-xr-x root/admin        0 2012-10-06 18:10
./Applications/MyApp.app/Contents/Resources/Fink/share/locale/en@boldquot/LC_MESSAGES/
-rw-r--r-- root/admin     9292 2012-10-06 18:10
./Applications/MyApp.app/Contents/Resources/Fink/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo

so I'm not yet sure what is causing this to happen.

One thing to note:  your app will _not_ be relocatable without
additional modification, because Fink uses absolute paths for linked
libraries.  I.e. it will _only_ work if installed in /Applications.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to