ports/56742: expect build fails with option WITHOUT

dmitry at atlantis.dp.ua dmitry at atlantis.dp.ua
Fri Dec 5 11:10:13 UTC 2003


The following reply was made to PR ports/56742; it has been noted by GNATS.

From: dmitry at atlantis.dp.ua
To: freebsd-gnats-submit at FreeBSD.org, jez.hancock at munk.nu
Cc:  
Subject: Re: ports/56742: expect build fails with option WITHOUT
Date: Fri, 5 Dec 2003 13:05:06 +0200 (EET)

 Hello!
 
  I just want to confirm that problem with WITHOUT_X11=yes make
 persists in 4.9-RELEASE:
 
 uname -a
 FreeBSD test.atlantis.dp.ua 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #0: Wed Dec  3
  21:29:13 EET 2003     root at test.atlantis.dp.ua:/usr/obj/usr/src/sys/SMBUS  i386
 root at test# WITHOUT_X11=yes make
 ...
 rm -f libexpect538.so.1
 ld -shared -x -o libexpect538.so.1 shared/exp_command.o shared/expect.o shared/p
 ty_termios.o  shared/exp_inter.o shared/exp_regexp.o shared/exp_tty.o  shared/ex
 p_log.o shared/exp_main_sub.o shared/exp_pty.o  shared/exp_trap.o  shared/exp_co
 nsole.o shared/exp_strf.o shared/exp_glob.o  shared/exp_win.o shared/exp_clib.o
  shared/exp_closetcl.o shared/exp_memmove.o shared/exp_tty_comm.o  shared/exp_se
 lect.o shared/exp_event.o  shared/exp_chan.o shared/Dbg.o -Wl,-rpath,/usr/local/
 lib -L/usr/ports/lang/tcl83/work/tcl8.3.5/unix -ltcl83   -lm -lc
 /usr/libexec/elf/ld: unrecognized option '-Wl,-rpath,/usr/local/lib'
 /usr/libexec/elf/ld: use the --help option for usage information
 *** Error code 1
 
 As a workaround, one can do the following actions:
 
 1. cd /usr/ports/lang/expect; WITHOUT_X11=yes make clean configure
 2. Edit file work/expect-5.38/Makefile in order to remove pattern
    "-Wl,rpath,${LIB_RUNTIME_DIR}"
 3. WITHOUT_X11=yes make install
 
   If someone is familiar with configure's "black magic" it would be nice
 to fix configure script in order to resolve the issue.
 
 P.S. My system is clean 4.9-RELEASE cvsupped to 4.9-RELEASE-p1,
 my shell is bash-2.05b.007, I've tried to remove all my personal aliases
 but it hasn't helped to solve the problem.
 
 Sincerely, Dmitry
 --
 Atlantis ISP, System Administrator
 e-mail:  dmitry at atlantis.dp.ua
 nic-hdl: LYNX-RIPE
 



More information about the freebsd-ports-bugs mailing list