Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 1996 18:38:08 -0700
From:      Steve Passe <smp@csn.net>
To:        ports@freebsd.org
Cc:        asami@cs.berkeley.edu
Subject:   perl5 port fails
Message-ID:  <199601310138.SAA29234@clem.systemsix.com>

next in thread | raw e-mail | index | archive | help
Hi,

I ran into the following problem trying to install
FreeBSD/ports-current/lang/perl5 on 2.1.0-RELEASE:

-------------------------------------------------------------------------------
$ pwd
/usr/ports-current/lang/perl5
$ make
Checksums OK.
===>  Extracting for perl-5.001
===>  Patching for perl-5.001
===>  Applying FreeBSD patches for perl-5.001
===>  Configuring for perl-5.001

...
 [many lines of output removed]
...

cc   -o miniperl miniperlmain.o libperl.a -lgdbm -lm -lc -lcrypt
ld: -lgdbm: no match
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
-------------------------------------------------------------------------------

Fix:

edit Makefile to tell Configure to search '/usr/local/lib':
diff -c Makefile.orig Makefile
*** Makefile.orig	Tue Jan 30 18:07:30 1996
--- Makefile		Tue Jan 30 18:12:29 1996
***************
*** 15,21 ****
  
  HAS_CONFIGURE=		yes
  CONFIGURE_SCRIPT=	Configure
! CONFIGURE_ARGS=		-sde -Dprefix=${PREFIX}
  
  PERLMAN= "" api book bot call data debug diag embed form func guts ipc mod \
  	   obj op ovl pod re ref run sec style sub syn trap var
--- 15,21 ----
  
  HAS_CONFIGURE=		yes
  CONFIGURE_SCRIPT=	Configure
! CONFIGURE_ARGS=		-sde -Dprefix=${PREFIX} -Dldflags=-L/usr/local/lib
  
  PERLMAN= "" api book bot call data debug diag embed form func guts ipc mod \
  	   obj op ovl pod re ref run sec style sub syn trap var


--
Steve Passe	| powered by
smp@csn.net	|            FreeBSD




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