View Full Version : ImageMagick 6.3.6.10 on OpenBSD 4.3 ... ghostscript and fonts...
superslot
07-26-2008, 09:43 PM
Hi all,
I trying to get ImageMagick (no_x11) working on a 4.3.
I've edited the makefile to add fonts and ghostscript to the no_x11 flavor.
During the autoconfig ImageMagick is able to find EVERYTHING I need, fonts, ghostscritp, fontconfig, libGS, jpg, bzlib2, tiff etc. etc.
make && make install and I get my pkg loaded.
now .... doing:
conver label:foo test.gif
I get the error complaining about fonts missing in path "xyz", BUT all fonts are there, and I have all the pkg needed.
So checking with convert -list configure I see that in the flags it says again "--with-fonts=no" etc.....
I'm quite lost... :confused:
in the BUILD dit of the pkg, checking the configure results (configure.xml and delegates.xml).... the flag is correct : "--with-fonts=yes" and all the others delegates are correct (and available.) :eek:
Is there someone using ImageMagick on a 4.3 with no X11 ???
How did u install the pkg? is it working?
Thanks for your help.
J65nko
07-26-2008, 11:54 PM
I am not sure I will be of much help, but anyway ;)
There is a package available for ImageMagick without XImageMagick-6.3.6.10-no_x11.tgz 5075 KB 03/14/08 16:40:00
ImageMagick-6.3.6.10.tgz 5626 KB 03/14/08 16:40:00So no need to compile your own ;)
The function XSetFontPath(3), which is used during X startup to initialize the FontPath from the X configuration fileX Window System Version 6.9.0 (for OpenBSD)
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: OpenBSD 4.0 i386 [ELF]
Current Operating System: OpenBSD zeno.utp.xnet 4.0 GENERIC#1194 i386
Build Date: 01 November 2006
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 2 20:25:46 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
The section of /etc/X11/xorg.conf defining these direcrSection "Files"
RgbPath "/usr/X11R6/share/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/OTF"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection
Maybe you could create a xorg.conf with this section and see whether that helps.
superslot
07-27-2008, 03:30 AM
mmm, yes I know there are both packages.
but the no_x11 is compiled without Freetype fonts and others (like gslib...),
and I have NO X11 at all .. (server)
that's why I had do tweak my own Makefile. :-)
Did you try to install the no_x11 package? are you able to run
convert label:foo test.gif
WITHOUT errors?
thanks.
jggimi
07-27-2008, 02:14 PM
"no_x11" packages do not require X, but building the packages from ports typically does.
If you must build this on the server, rather than on a separate build machine, you must install the X file sets to do so. After your no_x11 packages have been built/installed, you may remove X manually if desired.
superslot
07-27-2008, 05:11 PM
thanks jggimi,
the point is that I first installed pakages .... but I had errors when trying to create a label with fonts.... (this is why I decided to recompile)
that's why I'm asking if someone is able to install ImageMagick+ghostscript from packages and do the test....
conver label:foo test.gif
thanks ... I hope someone can help me...
(BTW: I have a openbsd 4.2 machine were I've installed the SAME packages 1y ago .. and ImageMagick+Ghostscript[no_x11] was working out of the box..)
:(
TerryP
07-27-2008, 07:02 PM
To elaborate on jggimis post,
Another common failure is a missing X11 installation. Even if the port you try to build has no direct dependency on X11, a subpackage of it or its dependencies may require X11 headers and libraries. Building ports on systems without X11 is not supported, so if you insist on doing so, you are on your own to figure it out. For many ports, there are, however, "no_x11" flavored packages available, which you can install without needing X11 on your system.
jggimi does know what he is talking about, you should listen to him ;-)
As far as packages and your curiosity go, if you could explain a bit more about what you are setting up, I might give it a go on my OpenBSD 4.3 machine -- which runs without X and packages only.
ocicat
07-27-2008, 09:15 PM
(BTW: I have a openbsd 4.2 machine were I've installed the SAME packages 1y ago .. and ImageMagick+Ghostscript[no_x11] was working out of the box..)
You posted hoping to find someone with specific knowledge of what has changed. It is fair to say that most here who might have contributed anything salient have had a chance to do so. Given that you are asking how these packages have evolved from 4.2 to 4.3, it appears to be time to contact those actually responsible for their care & feeding. The information page for the no_x11 package:
http://www.openbsd.org/4.3_packages/i386/ImageMagick-6.3.6.10-no_x11.tgz-long.html
...states that porting responsibilities is shared by all official porters. My recommendation would be to subscribe to the ports@ mailing list, & post the exact details of what was done in both 4.2 & 4.3 & see what response is received. Information on subscribing to ports@ can be found at the following:
http://openbsd.org/mail.html
superslot
07-28-2008, 06:05 AM
Ok, cristal clear.
Thanks a lot.
But somehow something was misunderstood.
1. I started from a fresh clean install
2. installed from packages (no_x11) ImageMagick and Ghostscript/fonts and all the dep.
(no recompiling)
At this point convert didn't work !
So I've tried the "hard" way...recompiling..
basically : It looks to me that the default no_x11 package does not work correctly, trying to do the test command I get all the error messages about fonts etc. ...
Anyone has noted that?
:-)
anyway ... thanks a lot, I;ll try installyng the whole X11.
superslot
07-28-2008, 06:35 AM
BTW: just installed X11 (xbase+xfont+xetc) and ImageMagick + ghostscript packages (normal flavor).
now it works correclty .. no issues .... but I hate to have all that X11 stuff on a server .... just for imagemagick! damn..
:-)
thanks.
jggimi
07-28-2008, 10:36 AM
It's image manipulation software, and the "convert" operation you need requires X.
It won't hurt you to have the software installed. If you don't turn the memory aperture facility on, you won't be able to run the X server on the hardware.
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.