On Sun, 2008-08-17 at 01:42 -0400, Garth Dahlstrom wrote:
> The same sort of path problems exist with custom made Leopard
> builds... 
> 
> Tom was tried to send me a couple of dmg builds and they were
> referring to /usr/lib/ for libs that were included inside the
> Mixxx.app itself...   I'm wondering how it is that the released ver of
> 1.6.0 does correctly refer to the paths inside the Mixxx.app  (is
> there some post packaging hack, some option, or was there something
> missing from svn?) ... 

There's a script at mixxx/src/osx/create_mixxx_dmg.sh that changes all
these paths for you. Unfortunately, it's configured for the paths on my
laptop, where some of the dependencies are in /opt/local and some are
in /usr/local (mess). After you've got Mixxx built, you need to run the
script from the "mixxx" directory (like kousu did in the log), and then
the script will try to copy over all the libraries to the Mixxx.app
bundle, and change all their hardcoded paths.

I'm still sort of in disbelief that this is necessary, but as far as I
can tell (google), it is. If someone knows something I don't, let me in
on the secret. :)

Thanks,
Albert


> 
> Cheers,
> 
> -G
> 
> On Sun, Aug 17, 2008 at 12:59 AM, Albert Santoni <[EMAIL PROTECTED]>
> wrote:
>         Hi Nick,
>         
>         This is fantastic, thank you. I did manage to pump out a Tiger
>         build
>         myself for the 1.6.0 release, but if you want to do our future
>         Tiger
>         builds (say 1.6.1 when it's ready), I'd appreciate it very
>         much. The
>         Tiger box that I have "access" to is somewhat sketchy, and
>         it's probable
>         that I'll lose access to it in the future without any notice.
>         Having
>         someone else who can do the builds would help a lot. :)
>         
>         You were in correct in that the errors coming from that script
>         are
>         because the paths are wrong in the script. However, it IS a
>         critical
>         flaw if you want to make a package that will run on other
>         peoples'
>         computers. Anyways, we'll get in touch whenever we're going to
>         do the
>         1.6.1 builds and I'll help you sort out the paths.
>         
>         Thanks again,
>         Albert
>         
>         
>         On Fri, 2008-08-01 at 03:11 -0400, Nick Guenther wrote:
>         > So I've finally got Mixxx to compile on OS X Tiger. Here is
>         the
>         > release for svn 2220:
>         > http://kousu.ca/hotlinks/mixxx-1.6.0-macintel.dmg
>         > I had to edit create_mixxx_dmg to change the QT path again.
>         Even with
>         > doing that I got a slew of errors.. which seem to mostly be
>         because I
>         > installed to /usr instead of /usr/local. Do you think this
>         is a
>         > critical flaw?
>         > The image seems to work for me, anyway, but then again it
>         could be
>         > just that my system is messed.
>         >
>         > Axbkx:~/pro/mixxx/mixxx kousu$ src/osx/create_mixxx_dmg.sh
>         > mkdir: Frameworks: File exists
>         > Copying libraries...
>         > cp: /usr/local/lib/libportaudio.2.dylib: No such file or
>         directory
>         > cp: /usr/local/lib/libmad.0.dylib: No such file or directory
>         > cp: /opt/local/lib/libid3tag.0.dylib: No such file or
>         directory
>         > cp: /usr/local/lib/libvorbisfile.3.dylib: No such file or
>         directory
>         > cp: /usr/local/lib/libvorbis.0.dylib: No such file or
>         directory
>         > cp: /usr/local/lib/libogg.0.dylib: No such file or directory
>         > cp: /usr/local/lib/libsndfile.1.dylib: No such file or
>         directory
>         > cp: /usr/local/lib/libFLAC.7.dylib: No such file or
>         directory
>         > Changing library ids...
>         > install_name_tool: can't open file: libportaudio.2.dylib (No
>         such file
>         > or directory)
>         > install_name_tool: can't open file: libmad.0.dylib (No such
>         file or directory)
>         > install_name_tool: can't open file: libid3tag.0.dylib (No
>         such file or
>         > directory)
>         > install_name_tool: can't open file: libvorbisfile.3.dylib
>         (No such
>         > file or directory)
>         > install_name_tool: can't open file: libvorbis.0.dylib (No
>         such file or
>         > directory)
>         > install_name_tool: can't open file: libogg.0.dylib (No such
>         file or directory)
>         > install_name_tool: can't open file: libsndfile.1.dylib (No
>         such file
>         > or directory)
>         > install_name_tool: can't open file: libFLAC.7.dylib (No such
>         file or directory)
>         > Changing library ids in the Mixxx binary...
>         > Changing library ids within the QT4 libs
>         > Changing library ids within Vorbis lib
>         > install_name_tool: can't open file: libvorbis.0.dylib (No
>         such file or
>         > directory)
>         > install_name_tool: can't open file: libvorbisfile.3.dylib
>         (No such
>         > file or directory)
>         > install_name_tool: can't open file: libvorbisfile.3.dylib
>         (No such
>         > file or directory)
>         > Changing library ids within libsndfile
>         > install_name_tool: can't open file: libsndfile.1.dylib (No
>         such file
>         > or directory)
>         > Stripping debugging symbols in libraries
>         > Stripping libQt3Support.4.dylib
>         > Stripping libQtCore.4.dylib
>         > Stripping libQtGui.4.dylib
>         > Stripping libQtNetwork.4.dylib
>         > Stripping libQtOpenGL.4.dylib
>         > Stripping libQtSql.4.dylib
>         > Stripping libQtXml.4.dylib
>         > Copying QT4 imageformat plugins
>         > mkdir: plugins: File exists
>         > mkdir: plugins/imageformats: File exists
>         > mkdir: plugins/iconengines: File exists
>         > Changing library ids within QT4 imageformat plugin:
>         libqgif.dylib
>         > Changing library ids within QT4 imageformat plugin:
>         libqjpeg.dylib
>         > Changing library ids within QT4 imageformat plugin:
>         libqsvg.dylib
>         > Stripping debugging symbols from QT4 imageformat plugins
>         >
>         cp: /usr/local/Trolltech/Qt-4.4.0/plugins/iconengines/libqsvg.dylib:
>         > No such file or directory
>         > Changing library ids within QT4 iconegine plugin:
>         libqsvg.dylib
>         > install_name_tool: can't open file: libqsvg.dylib (No such
>         file or directory)
>         > install_name_tool: can't open file: libqsvg.dylib (No such
>         file or directory)
>         > install_name_tool: can't open file: libqsvg.dylib (No such
>         file or directory)
>         > install_name_tool: can't open file: libqsvg.dylib (No such
>         file or directory)
>         > install_name_tool: can't open file: libqsvg.dylib (No such
>         file or directory)
>         > install_name_tool: can't open file: libqsvg.dylib (No such
>         file or directory)
>         > install_name_tool: can't open file: libqsvg.dylib (No such
>         file or directory)
>         > Stripping debugging symbols from QT4 iconengine plugins
>         > strip: can't open file:
>         > 
> /Users/kousu/pro/mixxx/mixxx/Mixxx.app/Contents/plugins/iconengines/*.dylib
>         > (No such file or directory)
>         > Done creating Mixxx.app bundle!
>         > Building DMG...
>         > cp: src/osx/VolumeIcon.icns: No such file or directory
>         > src/osx/create_mixxx_dmg.sh: line 161: SetFile: command not
>         found
>         > load_hdi: IOHDIXControllerArrivalCallback: timed out waiting
>         for IOKit
>         > to finish matching.
>         > 
> .....................................................................................................
>         > .dmgted: /Users/kousu/pro/mixxx/mixxx/mixxx-1.6.0-macintel
>         >
>         >
>         
> -------------------------------------------------------------------------
>         > This SF.Net email is sponsored by the Moblin Your Move
>         Developer's challenge
>         > Build the coolest Linux based applications with Moblin SDK &
>         win great prizes
>         > Grand prize is a trip for two to an Open Source event
>         anywhere in the world
>         > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>         > _______________________________________________
>         > Mixxx-devel mailing list
>         > Mixxx-devel@lists.sourceforge.net
>         > https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>         
>         
>         
> -------------------------------------------------------------------------
>         This SF.Net email is sponsored by the Moblin Your Move
>         Developer's challenge
>         Build the coolest Linux based applications with Moblin SDK &
>         win great prizes
>         Grand prize is a trip for two to an Open Source event anywhere
>         in the world
>         http://moblin-contest.org/redirect.php?banner_id=100&url=/
>         _______________________________________________
>         Mixxx-devel mailing list
>         Mixxx-devel@lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>         
> 
> 
> 
> -- 
> __
> --- == __/ t.O ==--
> http://stacktrace.org/
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to