DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th July 2008
superslot superslot is offline
Port Guard
 
Join Date: Jun 2008
Posts: 11
Thanked 0 Times in 0 Posts
Unhappy ImageMagick 6.3.6.10 on OpenBSD 4.3 ... ghostscript and fonts...

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...

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.)


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.
Reply With Quote
  #2   (View Single Post)  
Old 26th July 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,245
Thanked 182 Times in 149 Posts
Default

I am not sure I will be of much help, but anyway

There is a package available for ImageMagick without X
Code:
ImageMagick-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:00
So no need to compile your own

The function XSetFontPath(3), which is used during X startup to initialize the FontPath from the X configuration file
Code:
X 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 direcr
Code:
Section "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.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 27th July 2008
superslot superslot is offline
Port Guard
 
Join Date: Jun 2008
Posts: 11
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4   (View Single Post)  
Old 27th July 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,886
Thanked 214 Times in 189 Posts
Default

"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.
Reply With Quote
  #5   (View Single Post)  
Old 27th July 2008
superslot superslot is offline
Port Guard
 
Join Date: Jun 2008
Posts: 11
Thanked 0 Times in 0 Posts
Default

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..)

Reply With Quote
  #6   (View Single Post)  
Old 27th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

To elaborate on jggimis post,

Quote:
Originally Posted by OpenBSD FAQ
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.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #7   (View Single Post)  
Old 27th July 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,930
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by superslot View Post
(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/....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

Last edited by ocicat; 27th July 2008 at 09:23 PM.
Reply With Quote
  #8   (View Single Post)  
Old 28th July 2008
superslot superslot is offline
Port Guard
 
Join Date: Jun 2008
Posts: 11
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #9   (View Single Post)  
Old 28th July 2008
superslot superslot is offline
Port Guard
 
Join Date: Jun 2008
Posts: 11
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
Old 28th July 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,886
Thanked 214 Times in 189 Posts
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about Termianl Fonts and some apps Configurations qmemo OpenBSD General 1 9th June 2009 06:47 PM
ImageMagick-6.2.9.8 carpman FreeBSD Ports and Packages 4 20th September 2008 03:48 PM
Console Fonts JMJ_coder General software and network 6 10th September 2008 09:57 PM
NetBSD: pretty fonts anomie NetBSD General 3 21st May 2008 03:00 PM
libxcb, ImageMagick... lumiwa FreeBSD Ports and Packages 2 15th May 2008 11:47 PM


All times are GMT. The time now is 06:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick