Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2001 09:35:30 -0400
From:      "Kutulu" <kutulu@kutulu.org>
To:        "Maxim Sobolev" <sobomax@FreeBSD.ORG>
Cc:        <gnome@FreeBSD.ORG>, <ports@FreeBSD.ORG>
Subject:   Re: GNOME megaupdate [gal/gtkhtml/ORBit/bonobo-conf/librsvg/evolution/sodipodi] - correct patch
Message-ID:  <000b01c14e9d$06463160$9865fea9@longhill1.md.home.com>
References:  <3BBDC1DB.6D718ECA@FreeBSD.org> <3BBDC8E9.AC7372D5@FreeBSD.org> <20011005223443.A73833@johncoop.MSHOME>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 2001.10.05 07:51 Maxim Sobolev wrote:
> > OOPS, sorry I've attached wrong file. Trying again.
> >
> > -Maxim
> >

I ran through a build of gnome-fifth-toe from a completely X-less machine
(no x libs, no imake, no nothing).  I ran into three problems, only one of
which seems to be anything really important:

1) The patch failed in /usr/ports/print/gnomeprint on the Makefile.
Checking the original vs. the rejected patch, it appeared to be a simple
case of an extra tab ot two somewhere.  My Makefile says:

USE_PERL5=      yes
USE_GNOMECTRL=  yes
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes

but the patch is looking for:

  USE_PERL5=    yes
  USE_GNOMECTRL=        yes
- USE_LIBTOOL=  yes
  INSTALLS_SHLIB=       yes

Since the changes were minor and obvious, I just made them myself, but it
indicates to me that I might have something out of date and not know it.  I
CVSup ports every night and have applied all of the 'mega-updates' I've seen
in the past 2 months, but maybe I missed something.

2) Since X wasn't even on the machine to begin with, I had removed
/usr/X11R6/bin from my default path.  However, during the build process,
several ports (including oaf and gtk) stick their configuration scripts in
there, where later ports can't find them.  I had run into this problem
before building X-based ports, so it was easy enough to append
/usr/X11R6/bin to my path and start the make again, but I wonder if there's
some way to account for this up front?  Even something as simple as a
warning that you need to add to your path for this port to install?

3) When it got to pspell, I ran into a real error:

Making all in interface
gmake[1]: Entering directory
`/usr/ports/textproc/pspell/work/pspell-.12.2/interface'
/bin/sh ../libtool --mode=compile
c++ -DPACKAGE=\"pspell\" -DVERSION=\".12.2\" -DUSE_LTDL=1  -DDATADIR=\"/usr/
local/share/pspell\" -DLIBDIR=\"/usr/local/lib\"   -I../modules/ -I./  -I/us
r/local/include  -O -pipe  -c manager_impl.cc
c++ -DPACKAGE=\"pspell\" -DVERSION=\".12.2\" -DUSE_LTDL=1 -DDATADIR=\"/usr/l
ocal/share/pspell\" -DLIBDIR=\"/usr/local/lib\" -I../modules/ -I./ -I/usr/lo
cal/include -O -pipe -c manager_impl.cc  -fPIC -DPIC -o .libs/manager_impl.o
manager_impl.cc:22: ltdl.h: No such file or directory
manager_impl.cc: In function `void free_lt_handle(void *)':
manager_impl.cc:29: `lt_dlhandle' undeclared (first use this function)
manager_impl.cc:29: (Each undeclared identifier is reported only once
manager_impl.cc:29: for each function it appears in.)
manager_impl.cc:29: syntax error before `)'
manager_impl.cc:31: implicit declaration of function `int lt_dlexit(...)'
manager_impl.cc: In function `class PspellCanHaveError *
new_pspell_manager_class(PspellConfig *)':
manager_impl.cc:48: implicit declaration of function `int lt_dlinit(...)'
manager_impl.cc:54: syntax error before `='
manager_impl.cc:55: `h' undeclared (first use this function)
manager_impl.cc:58: syntax error before `='
manager_impl.cc:59: `fun' undeclared (first use this function)
gmake[1]: *** [manager_impl.lo] Error 1
gmake[1]: Leaving directory
`/usr/ports/textproc/pspell/work/pspell-.12.2/interface'
gmake: *** [all-recursive] Error 1
*** Error code 2

It appears libltdl was built in the step immediately before this, but was
not yet installed.  There are several places where ltdl.h is found on my
system at this point:

/usr/local/share/libtool/libltdl/ltdl.h
/usr/ports/lang/guile/work/guile-1.4/libltdl/ltdl.h
/usr/ports/textproc/pspell/work/pspell-.12.2/libltdl/ltdl.h

I assume libtool is supposed to be finding the first one, which is why
'-I../libltdl' isn't one of the build flags.  But the inner workings of
libtool are currently beyond me, so I can't help much more.

--K




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c14e9d$06463160$9865fea9>