hi - i'm trying to build the latest stable pd vanilla on osx/ppc. if i do a ./configure make depend make in the src directory, i get a lot of warnings concerning -arch i386, like:
/usr/bin/ld: for architecture i386/usr/bin/ld: warning /System/ Library/Frameworks/CoreAudio.framework/CoreAudio cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
and finally compilation stops with the following:
/usr/bin/ld: Undefined symbols: ___keymgr_dwarf2_register_sections __cthread_init_routine _atexit _errno _exit _mach_init_routine _atoi _memset _sprintf _sscanf _strcat _strchr _strncat _strncpy _atof ... collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//cc2oNVoX.out (No such file or directory) make: *** [../bin/pd] Error 1
when i add --disable-fat to configure, the whole thing builds. but when i try to run pd from the /bin directory i only get the wish.app with mostly empty menus and an empty pd-window/console doing nothing. i'm running osx 10.4.11 if that is of any help. same happens on a G5 with the same os.
the same build works fine on linux.
anybody sees what's going wrong here?
thanks, volker.
Sounds like you have a rare Mac without an i386 compiler installed. I'm not sure, but I think bringing the development suite up to date should fix that. Of course, they probably will insist that you also bring the OS up to date, and during the upgrade you'll lose all your files. If it were me, I'd just clench my teeth and use --disable-fat.
cheers Miller
On Mon, Dec 22, 2008 at 01:02:39PM +0100, volker b?hm wrote:
hi - i'm trying to build the latest stable pd vanilla on osx/ppc. if i do a ./configure make depend make in the src directory, i get a lot of warnings concerning -arch i386, like:
/usr/bin/ld: for architecture i386/usr/bin/ld: warning /System/ Library/Frameworks/CoreAudio.framework/CoreAudio cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
and finally compilation stops with the following:
/usr/bin/ld: Undefined symbols: ___keymgr_dwarf2_register_sections __cthread_init_routine _atexit _errno _exit _mach_init_routine _atoi _memset _sprintf _sscanf _strcat _strchr _strncat _strncpy _atof ... collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//cc2oNVoX.out (No such file or directory) make: *** [../bin/pd] Error 1
when i add --disable-fat to configure, the whole thing builds. but when i try to run pd from the /bin directory i only get the wish.app with mostly empty menus and an empty pd-window/console doing nothing. i'm running osx 10.4.11 if that is of any help. same happens on a G5 with the same os.
the same build works fine on linux.
anybody sees what's going wrong here?
thanks, volker.
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
hi miller,
On 22 Dec 2008, at 19:07, Miller Puckette wrote:
Sounds like you have a rare Mac without an i386 compiler installed. I'm not sure, but I think bringing the development suite up to date should fix that.
hm, i might not be running the latest shiny intel macbook, but my machines are still working fine most of the time :) on the G5 i'm running xcode 2.5 which is the latest version for non- intel macs, if i'm not mistake. so i'd think gcc should be more or less up to date (4.01). i have no problem compiling UB externals for max for example, so i'm not sure if this is the issue.
Of course, they probably will insist that you also bring the OS up to date, and during the upgrade you'll lose all your files. If it were me, I'd just clench my teeth and use --disable-fat.
yeah, no problem, i don't insist on fat. but while using --disable-fat does fix the compilation, it doesn't turn up any usable binaries for me. if i do a ./pd in /bin i get a wish.app and a pd window, but the menus are empty and i can't load patches or play any audio.
i must be missing something else.
regards, volker.
On Dec 22, 2008, at 1:18 PM, volker böhm wrote:
hi miller,
On 22 Dec 2008, at 19:07, Miller Puckette wrote:
Sounds like you have a rare Mac without an i386 compiler installed. I'm not sure, but I think bringing the development suite up to date should fix that.
hm, i might not be running the latest shiny intel macbook, but my machines are still working fine most of the time :) on the G5 i'm running xcode 2.5 which is the latest version for non- intel macs, if i'm not mistake. so i'd think gcc should be more or less up to date (4.01). i have no problem compiling UB externals for max for example, so i'm not sure if this is the issue.
Of course, they probably will insist that you also bring the OS up to date, and during the upgrade you'll lose all your files. If it were me, I'd just clench my teeth and use --disable-fat.
yeah, no problem, i don't insist on fat. but while using --disable-fat does fix the compilation, it doesn't turn up any usable binaries for me. if i do a ./pd in /bin i get a wish.app and a pd window, but the menus are empty and i can't load patches or play any audio.
i must be missing something else.
I don't think building FAT on ppc ever worked for me, that's why I added the --disable-fat option, which works fine.
http://puredata.info/docs/developer/MacOSXFink
If you set up your machine like the above instructions (you don't need Jack or Fink for vanilla), then use the pd-extended build system, you'll end up with a Pd-vanilla.app that works on Mac OS X. AFAIK, Miller's whole Mac OS X build system is not included in the SVN.
.hc
regards, volker.
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------ ----
As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin
On 23 Dec 2008, at 04:20, Hans-Christoph Steiner wrote:
I don't think building FAT on ppc ever worked for me, that's why I added the --disable-fat option, which works fine.
http://puredata.info/docs/developer/MacOSXFink
If you set up your machine like the above instructions (you don't need Jack or Fink for vanilla), then use the pd-extended build system, you'll end up with a Pd-vanilla.app that works on Mac OS X. AFAIK, Miller's whole Mac OS X build system is not included in the SVN.
ok, i see. i gave it a quick shot, but ran into all sorts of problems, which might aswell be due to me trying to skip "unnecessary" steps, as i'm only interested in the vanilla version right now.
compiling pd on linux was such a simple and painless process that i had hoped to find something equally convient for mac. i'll give it another try some time later.
anyway, thanks for your comments. volker.