Page 1 of 1

building for osx 10.4 on an osx 10.5 system

Posted: 2010-08-20T07:20:13-07:00
by robertmeyer
hello;

I have a need to build imagemagick from source
for a different system than the one I'm building
on, but I'm not sure how to tell the configure
script how to do this.

the system I'm building on is osx 10.5;
the system I need to run on is osx 10.4.

I have a feeling this is an easy one, but I can't
get a grip on how to do it.

thanks in advance.
rm.

Re: building for osx 10.4 on an osx 10.5 system

Posted: 2010-08-20T09:54:56-07:00
by fmw42
robertmeyer wrote:hello;

I have a need to build imagemagick from source
for a different system than the one I'm building
on, but I'm not sure how to tell the configure
script how to do this.

the system I'm building on is osx 10.5;
the system I need to run on is osx 10.4.

I have a feeling this is an easy one, but I can't
get a grip on how to do it.

thanks in advance.
rm.

I don't understand. Are you trying to install IM on a system with 2 OSs? Or do you have two computers with os 10.5 and the other with os 10.4?

If the former, then I think you need to partition your hard disk to have one partition with OS 10.5 and the other with OS 10.4. But I am not an expert on running two simultaneous OS systems on one computer.

Please clarify your problem further.

Re: building for osx 10.4 on an osx 10.5 system

Posted: 2010-08-20T10:22:49-07:00
by robertmeyer
Hi Fred; thank you for your response.

I have two computers, one running 10.5 (my development machine, with
xcode, gcc, and the usual suite of dev tools), and the other running 10.4
(a live server, with no dev tools whatsoever).

I need to get IM up and running on the 10.4 machine.

Ideally, I'd love to get my hands on a binary of IM for that verson of OSX
(10.4), but I don't see anything like that on the IM website, so I'm attempting
to build IM from source, with osx 10.4 as the target...

rm.

Re: building for osx 10.4 on an osx 10.5 system

Posted: 2010-08-20T10:43:04-07:00
by fmw42
robertmeyer wrote:Hi Fred; thank you for your response.

I have two computers, one running 10.5 (my development machine, with
xcode, gcc, and the usual suite of dev tools), and the other running 10.4
(a live server, with no dev tools whatsoever).

I need to get IM up and running on the 10.4 machine.

Ideally, I'd love to get my hands on a binary of IM for that verson of OSX
(10.4), but I don't see anything like that on the IM website, so I'm attempting
to build IM from source, with osx 10.4 as the target...

rm.

OK. Thanks.

I am on Mac OSX Tiger (10.4). I have installed in various ways starting with binaries, then installing manually. Lately, I have used MacPorts to install all the delegate libraries and then install IM manually so that I can keep up with current versions right away.

The IM folks may have old archived binaries for Mac OSX 10.4. But they don't have current ones. So you could ask.

Otherwise, I would suggest you use MacPorts to do it all from source. But I think you need Xcode Tools at least for using X11 display. First install all the delegate libraries such as to support png, gif, tiff, jpg and whatever else you need using MacPorts. Then install IM using MacPorts.

see
http://www.imagemagick.org/download/delegates/ (but I would find more current ones online from a google search)
http://www.imagemagick.org/script/advan ... php#macosx

Unfortunately, I cannot help you with installing on a remote machine. You will likely need to use ssh or log into your machine and use a terminal window.

I hope this helps. Sorry I probably cannot help much further. But it won't hurt to ask about anything on the forum. Someone probably can help.

Re: building for osx 10.4 on an osx 10.5 system

Posted: 2010-08-20T10:50:21-07:00
by robertmeyer
Hi again, Fred;

I'm not quite clear on how macports can help with my problem (of course,
I've never used it, so I'm not completey sure of what it does).

just to be clear, I'm able to build a working version of IM on my 10.5
machine, from source, using the usual configure, make & make install
commands.

my problem is, I need to build a version of IM, using the dev tools on
the 10.5 machine, that will run on osx 10.4.

again, any input would be greatly appreciated.

rm.

Re: building for osx 10.4 on an osx 10.5 system

Posted: 2010-08-20T15:54:32-07:00
by fmw42
my problem is, I need to build a version of IM, using the dev tools on
the 10.5 machine, that will run on osx 10.4.
I cannot answer that one. Perhaps the IM people or someone more expert in unix can say how these two development environments are different.

I take it you want to build it in some portable way on your 10.5 and just copy to your 10.4 or something like that.

Re: building for osx 10.4 on an osx 10.5 system

Posted: 2010-08-21T09:54:38-07:00
by robertmeyer
I take it you want to build it in some portable way on your 10.5 and just copy to your 10.4 or something like that.
exactly!

Re: building for osx 10.4 on an osx 10.5 system

Posted: 2010-08-21T10:31:55-07:00
by fmw42
Search the archives. I found this viewtopic.php?f=1&t=13145&p=44175&hilit ... all#p44175

Hope that helps. If not you will need help from Magick or some other Mac/Unix/IM expert.

Re: building for osx 10.4 on an osx 10.5 system

Posted: 2010-08-30T02:10:26-07:00
by cloud
I haven't tried this but I could try and point you in the right direction:

1) set the isysroot to point to the 10.4 sdk (you need to have it installed when you installed XCode, if not reinstall XCode and make sure to select this SDK when you are asked which components you want installed):

Code: Select all

-isysroot /Developer/SDKs/MacOSX10.4.sdk
2) set the minimum system requirement to 10.4:

Code: Select all

-mmacosx-version-min=10.4
compile with both settings in LDFLAGS and CFLAGS

remember to put them also for delegates if you need them (png/tiff/jpeg/...)

Hope this helps.

~C