Re: Installing ImageMagick -DWITHOUT...

2003-01-06 Thread Lowell Gilbert
Andreas Widerøe Andersen [EMAIL PROTECTED] writes:

 I want to install ImageMagick without X and Ghostscript and other
 things I don't need.
 
 I do it from ports and issue this command:
 
 # make -DWITHOUT_X11 install clean
 
 This takes me directly to the Ghostscript driver configuration
 screen. I don't want Ghostscript since I don't print from this server.

Postscript is one of the formats that ImageMagick seems to consider
fundamental.  I don't think you can build it without it.  

 1. Can I specify more without-options, Ie. make -DWITHOUT_X11
 -DWITHOUT_GS install clean?

Won't help.

 2. What is the without syntax for Ghostscript here?

You'll need to go pretty deeply into ImageMagick itself to come up
with a way to do that.

 3. What is the general FreeBSD exclude without command when
 installing from ports and where is it placed? I've seen several,
 Ie. --without-gui, -DWHITOUT and so on.

See the Porter's Handbook.  
Or just look at a given port's makefile to see what it supports.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Installing ImageMagick -DWITHOUT...

2003-01-06 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-06 15:35:31 +0100:
 I want to install ImageMagick without X and Ghostscript and other things 
 I don't need.
 
 I do it from ports and issue this command:
 
 # make -DWITHOUT_X11 install clean
 
 This takes me directly to the Ghostscript driver configuration screen. I 
 don't want Ghostscript since I don't print from this server.
 
 1. Can I specify more without-options, Ie. make -DWITHOUT_X11 
 -DWITHOUT_GS install clean?

yes.

 2. What is the without syntax for Ghostscript here?

look in the Makefile. it's just text.
 
 3. What is the general FreeBSD exclude without command when installing 
 from ports and where is it placed? I've seen several, Ie. --without-gui, 
 -DWHITOUT and so on.

--with-foo / --without-foo is the syntax the underlying ./configure
expects, -DFOO / FOO=1 is the syntax make expects.

If you want to get most [understanding] from the ports collection,
learn basics of make(1). Simple stuff is easy, it's fun going
through the guts of /usr/ports/Mk/bsd.*.mk, and knowing some make-fu
is a generally useful virtue.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message