CDP7 install error on MAC OSX 10.5.8

Started by Jack49, April 01, 2014, 11:43:21 AM

Previous topic - Next topic

Jack49

Hi,

For different reasons (mainly I use old softwares...) I am still using essentially OSX 10.5.8.

While trying to install the CDP7 packages, I had no problem with CDPR7Documentation-MAC.mpkg, but CDP-Release7.mpkg complains that I need at lead 10.5 Leopard. So, is the message wrong, and means that I need 10.6 Snow Leopard ? Or is the message wrong, and I can install CDPR7 on a 10.6 system, then move manually the installation to the 10.5 system ?

Thanks for any clarification.

rwdobson

Yes, it looks like there is a problem with the downloaded archive, I will investigate further and report back later on. It is built for 10.5.x onwards (Intel-only), but there is probably something amiss in the package configuration.

Jack49

Hi !

Many thanks for your answer. I installed CDP7 on an external disk with Mac OSX 10.6.8, and it seemed to work correctly. I moved the installation to my internal disk, with MAC OSX 10.5.8, changed PATH, set CDP_SOUND_EXT, etc. So :
- soundloom just quit immediately when I start it. No message, no crash report in the console.
- I tested some applications in a terminal : listdate, dirsf... listaudevs, paplay do work correctly. Other applications (when I just run them without parameters) display their usage or complain about missing parameters - which seems to be a correct behaviour.

There may be a test in soundloom about the environment which causes it to quit immediately...

Anyway, thanks for checking the problem.

Regards. Jean-Jacques.

rwdobson

Yes, indeed there is. There is one further "hidden" task handled by the installer which it sounds like you need to make; it is specific to the Mac (and, now, also Linux when Soundloom is ported). Soundloom can be installed anywhere (e.g. in /Applications); which means it has to be told where the CDP programs are. This is done by means of a small hidden text file placed in the user's home directory, ".sloomrc". The leading dot means it is not visible either in the Finder, or in a normal directory listing in Terminal. It just contains the path to the CDP programs. So, if they are inside (as we recommend):
/Users/name/cdpr7/_cdp/_cdprogs

(where "name" is your account name), that is the line which must be placed in .sloomrc.

Jack49

Yes, actually I should have mentioned it, I did had the .sloomrc file installed, with the correct path to cdpr7.

When I run soundloom.app, it displays very briefly the menu bar (with a dozen of tries, I was able to read "soundloom File Edit Window Help") and then the Finder returns. No window or anything else is displayed.

If I open a terminal,  in : /Applications/soundloom.app/Contents/MacOS
and I run "gdb soundloom", I get :


Starting program: /Applications/soundloom.app/Contents/MacOS/soundloom
Reading symbols for shared libraries ++++.... done
Reading symbols for shared libraries .............................................................................. done
Reading symbols for shared libraries . done
warning: Can't find backing file for "/private/tmp/tclo7WWrb".
dlopen(/tmp/tclYFcyVk, 6): no suitable image found.  Did find:
   /tmp/tclYFcyVk: unknown required load command 0x80000022
    while executing
"load /Applications/soundloom.app/Contents/MacOS/soundloom/lib/snack2.2/libsnack.dylib"
    ("package ifneeded snack 2.2" script)
    invoked from within
"package require snack"
    (file "/Applications/soundloom.app/Contents/MacOS/soundloom/lib/app-soundloom/soundloom.tcl" line 8)
    invoked from within
"source /Applications/soundloom.app/Contents/MacOS/soundloom/lib/app-soundloom/soundloom.tcl"
    ("package ifneeded app-soundloom 1.0" script)
    invoked from within
"package require app-soundloom"
    (file "/Applications/soundloom.app/Contents/MacOS/soundloom/main.tcl" line 4)

Program exited with code 01.


Don't know if this helps much...

Best regards.

rwdobson

Yes, I think it does help; I find I had omitted to maker sure snack is fully 10.5.x compatible. I can no longer test on an Intel 10.5 machine, so this is somewhat experimental, but please try the version here:

http://people.bath.ac.uk/masrwd/soundloom1404b10-5-x.app.zip




Jack49

Hi !

Thanks again for the time you are spending for me.

I have a similar situation with this version :

The gdb gives :

Starting program: /Users/girardot/Downloads/soundloom.app/Contents/MacOS/soundloom
Reading symbols for shared libraries ++++.... done
Reading symbols for shared libraries .............................................................................. done
Reading symbols for shared libraries . done
warning: Can't find backing file for "/private/tmp/tclTgnJiC".
dlopen(/tmp/tclyD6Ffn, 6): no suitable image found.  Did find:
   /tmp/tclyD6Ffn: unknown required load command 0x80000022
    while executing
"load /Users/girardot/Downloads/soundloom.app/Contents/MacOS/soundloom/lib/snack2.2/libsnack.dylib"
    ("package ifneeded snack 2.2" script)
    invoked from within
"package require snack"
    (file "/Users/girardot/Downloads/soundloom.app/Contents/MacOS/soundloom/lib/app-soundloom/soundloom.tcl" line 8)
    invoked from within
"source /Users/girardot/Downloads/soundloom.app/Contents/MacOS/soundloom/lib/app-soundloom/soundloom.tcl"
    ("package ifneeded app-soundloom 1.0" script)
    invoked from within
"package require app-soundloom"
    (file "/Users/girardot/Downloads/soundloom.app/Contents/MacOS/soundloom/main.tcl" line 4)

Program exited with code 01.


Possibly the "/tmp/tclyD6Ffn" and "/private/tmp/tclTgnJiC" indicate it is somewhere looking for absolute paths,
which may exist on a Unix system, but not on Mac ?


Best regards. Thanks again !

rwdobson

OK, thanks,  I have found another place in the snack makefile where I need to add the flag for 10.5.x support, rebuilding now, will post updated version shortly.

rwdobson

Try this one:

http://people.bath.ac.uk/masrwd/soundloom1404b2-10-5-x.app.zip

I can't see anything else in the snack build that would be a problem; so if this doesn't work I am stuck until I can find a way to test etc on a 10.5 machine.

Jack49

Hey ! This seems to work !
It displays correctly the Workspace window.
I will do some further tests tomorrow.
Many thanks for taking the time to have your software run on an obsolete system !

Best regards.
J.Jacques.