Skip site navigation (1)Skip section navigation (2)
Date:      15 Mar 2003 12:13:07 +0100
From:      Franz Klammer <klammer@webonaut.com>
To:        Neil Short <neshort@yahoo.com>
Cc:        FreeBSD-gnome <gnome@freebsd.org>
Subject:   Re: mozill port compile error
Message-ID:  <1047726787.638.40.camel@ds9.webonaut.com>
In-Reply-To: <20030315032414.95141.qmail@web12804.mail.yahoo.com>
References:  <20030315032414.95141.qmail@web12804.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Sa, 2003-03-15 um 04.24 schrieb Neil Short:
> installed fbsd 4.7 release. updated ports. Attempted
> to install mozilla: wouldn't compile.
> 
> updated to 4.8 RC (stable). Reattempted port compile
> of Mozilla:
> 

> ===>   mozilla-1.2.1_1,2 depends on shared library:
> mng.1 - not found
> ===>    Verifying install for mng.1 in
> /usr/ports/graphics/libmng
> ===>  Building for libmng-1.0.4
> Warning: Object directory not changed from original
> /usr/ports/graphics/libmng/work/libmng-1.0.4
> cc -O -pipe   -I/usr/local/include -DMNG_FULL_CMS  -c
> libmng_callback_xs.c -o libmng_callback_xs.o
> cc -fpic -DPIC -O -pipe   -I/usr/local/include
> -DMNG_FULL_CMS  -c libmng_callback_xs.c -o
> libmng_callback_xs.So
> In file included from libmng.h:307,
> In file included from libmng.h:307,
>                  from libmng_callback_xs.c:48:
> libmng_types.h:158: lcms/lcms.h: No such file or
> directory

you problem is, that mozilla depends on graphics/libmng 
and libmng depends on graphics/lcms.

as the error above say libmng didn't find lcms.h though
it has it in it's lib-depends.

if you use sysutils/portupgrade (if not i highly recommend it)
try   portupgrade -R mozilla   that would also upgrade all
ports needed by mozilla resp. by the given port.


> ===>   mozilla-1.2.1_1,2 depends on shared library: mng.1 - not found
> ===>    Verifying install for mng.1 in /usr/ports/graphics/libmng
> ===>  Building for libmng-1.0.4

here makes me also something to think. take a look at my output below.
i didn't find extracting, patching in your buildlog. mabee you should
first remove all your <portname>/work - directories before building.


also you should first do the following steps:

- cvsup your ports (if not already done)
- check with  pkg_version -l \<  for ports where newer versions 
  available (i'm sure the list is very long!)


you can update _all_ your outdated ports with one single 
command:  portupgrade -rak

if some of the ports fail to upgrade, look why and do it
then with only   portupgrade -r <portname>


what's the output of   ls -al /var/log/pkg?  are there some
ports two or more time listed? if so: that's not good! 


franz.

------ begin my output below ;-) -----

===>  Extracting for libmng-1.0.4
>> Checksum OK for libmng-1.0.4.tar.gz.
===>  Patching for libmng-1.0.4
test ! -e /usr/local/include/lcms.h || /usr/bin/sed -i.bak -e 
's%lcms/lcms.h%lcms.h%'
/usr/ports/graphics/libmng/work/libmng-1.0.4/libmng_types.h
===>  Configuring for libmng-1.0.4
===>   libmng-1.0.4 depends on shared library: jpeg.9 - found
===>   libmng-1.0.4 depends on shared library: lcms.1 - found
===>  Building for libmng-1.0.4

--------------------------------------



> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online
> http://webhosting.yahoo.com
> 
> ______________________________________________________________________

-- 
WEBONAUT.com
http://webonaut.com
mailto:klammer@webonaut.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1047726787.638.40.camel>