On 12/11/05, steven mestdagh <[EMAIL PROTECTED]> wrote:
> On Sun, Dec 11, 2005 at 06:38:15PM +0100, Stefan wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi,
> >
> > I'm trying to create a port for the program dcc which I will locate
> > under mail. The portname will be mail/dcc-dccd. The build process
> > seems to be ok, but when the "make install" command is executed the
> > port breaks with the following error:
> >
> > make: don't know how to make /usr/ports/mail/dcc-dccd/w-dcc-
> > dccd-1.3.24/fake-i386/usr/lib/crt0.o. Stop in /usr/ports/mail/dcc-
> > dccd/w-dcc-dccd-1.3.24/dcc-dccd-1.3.24/cdcc.
> > *** Error code 2
> [...]
>
> /usr/lib is meant for system libraries.  you need to tell this software
> to install libraries in ${LOCALBASE}/lib where ${LOCALBASE} defaults to
> /usr/local.  this can often be done by passing configure options or
> environment variables, or if that fails, by patching the makefile.
>

ctr0.o is actually a system library.  I *think* that the software
expects it to be in /usr/lib but ends up not finding it in the fake
environement for install.  It may be set as a prerequisite for some
install command and it fails because it can't be found.

Try to locate the offending prerequisite and kill it (most likely by
patching).  You can be assured the package will find that file on
every system.

Arnaud

Reply via email to