[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pb with libpng and ports



I'm setting up a new OpenBSD config. I've installed a very few things
from the ports : 

/-----------------
| # 
| # pkg_info
| pth-1.4.0          GNU portable threads
| jpeg-6b            IJG's JPEG compression utilities
| glib-1.2.10        useful routines for C programming
| gettext-0.10.40    GNU gettext
| tiff-3.5.5         Tools and library routines for working with TIFF images
| png-1.0.12         library for manipulating PNG images
| gtk+-1.2.10        General Toolkit for X11 GUI
| giflib-4.1.0       Gif Library and utilities
| imlib-1.9.8.1      image manipulation library for X11
| gkrellm-1.2.2      single process stack of system monitors
| cvsup-16.1ap1-static network file distribution system
| bzip2-1.0.1        block-sorting file compressor, unencumbered
| libiconv-1.7       character set conversion library
| gmake-3.79.1       GNU make
| libproplist-0.10.1 GNUstep/OPENSTEP property lists compatibility library
| windowmaker-0.65.1 window manager that emulates NEXTSTEP(tm)
| rsync-2.4.6        mirroring/synchronization over low bandwidth links
| Xaw3d-1.5          3D Athena Widget set that looks like Motif
| wmcalclock-1.25    wm-dockapp; calendar/clock
| ntp-4.1.0          network time protocol implementation
| procmail-3.21      filtering local mail delivery agent
| postfix-snapshot-20010808 fast, secure sendmail replacement
| autoconf-2.13      automatically configure source code on many Un*x platforms
| fetchmail-5.9.0    mail retrieval utility for POP2, POP3, KPOP, IMAP and more
\-----------------

(most of these pkg was installed by dependencies).

I've a problem with the Eterm port : it needs libpng but doesn't want
hear about png-1.0.12. This later pkg was installed with gkrellm as
far i remember.

Now, when i want to build Eterm from the ports, i get the following
messages:

/-----------------
| checking for imlib-config... imlib-config
| checking imlib-config for prefix... /usr/local
| checking imlib-config for the value of CFLAGS... \
|       -g -O2 -I/usr/local/include -I/usr/X11R6/include
| checking imlib-config for the value of GRLIBS... \
|       -lImlib -L/usr/local/lib -lImlib -ljpeg -ltiff -lgif -lpng -lz \
|       -lm -L/usr/X11R6/lib -L/usr/local/lib -lXext -L/usr/X11R6/lib \
|       -lSM -lICE -lXext -lX11
| checking the sanity of new compile/link flags... no
| configure: warning: Compile/link failed.  Reverting to manual method.
| checking for png_get_valid in -lpng... no
| checking for jpeg_read_scanlines in -ljpeg... no
| checking for TIFFOpen in -ltiff... no
| checking for DGifOpenFileName in -lgif... no
| checking for DGifOpenFileName in -lungif... no
| checking for Imlib_init in -lImlib... no
| WARNING:  Imlib was not found or did not correctly link.
|           Please check config.log to see what the error was.
|           I will attempt to continue, but things may go wrong.
| configure: warning: WARNING:  libImlib not found.  \
|          Attempting to continue anyway.
\-----------------

(...)

/-----------------
| Configuration:
| 
|   Source code location:       .
|   Compiler:            cc -O2   -I/usr/local/include -I/usr/X11R6/include
|   Host System Type:    i386-unknown-openbsd3.0
|   Graphics libraries: -lImlib -L/usr/local/lib -lImlib -ljpeg -ltiff \
|                       -lgif -lpng -lz -lm -L/usr/X11R6/lib \
|                       -L/usr/local/lib -lXext -L/usr/X11R6/lib -lSM \
|                       -lICE -lXext -lX11
|   X Windows libs/paths:  -lXext  -L/usr/X11R6/lib -lX11
|   Install path:          /usr/local
\-----------------

(compilation proceed...)

/-----------------
| ld: no shared -lpng.1.10 available
| collect2: ld returned 1 exit status
| *** Error code 1
| 
| Stop in /usr/ports/x11/eterm/w-eterm-0.8.10/Eterm-0.8.10/src \
|            (line 257 of Makefile).
| *** Error code 1
| 
| Stop in /usr/ports/x11/eterm/w-eterm-0.8.10/Eterm-0.8.10 \
|            (line 197 of Makefile).
| *** Error code 1
| 
| Stop in /usr/ports/x11/eterm/w-eterm-0.8.10/Eterm-0.8.10 \
|            (line 325 of Makefile).
| *** Error code 1
| 
| Stop in /usr/ports/x11/eterm \
|         (line 1636 of /usr/ports/infrastructure/mk/bsd.port.mk).
\-----------------

/-----------------
| $ ls /usr/local/lib/*Imlib*
| /usr/local/lib/libImlib.a               /usr/local/lib/libImlib.so.19.8
| /usr/local/lib/libImlib.la
\-----------------

Others ports, like gqview (which relies on libgdk_imlib) build and run
without any problem.

I cannot install png.1.10 as it cause conflict with the installed
version.

Any idea ?
-- 
Éric Jacoboni, né il y a 1305223662 secondes



Visit your host, monkey.org