Re: Installation von expect 5.38

From: Robert Barten <robert(at)barok.de>
Date: Tue, 16 Sep 2003 03:22:53 +0200

On Tue, Sep 16, 2003 at 02:15:39AM +0200, Robert Barten wrote:
> Moin, ich habe 4.8R #1 und versuchte gerade, expect 5.38 aus den Ports
> (cvsup der Ports von heute) zu übersetzen:
>
> ===> Building for expect-5.38.0_1
> rm -f libexpect538.so.1
> ld -shared -x -o libexpect538.so.1 shared/exp_command.o shared/expect.o
> shared/pty_termios.o shared/exp_inter.o shared/exp_regexp.o
> shared/exp_tty.o shared/exp_log.o shared/exp_main_sub.o
> shared/exp_pty.o shared/exp_trap.o shared/exp_console.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_select.o shared/exp_event.o shared/exp_chan.o shared/Dbg.o
> -Wl,-rpath,/usr/local/lib -L/usr/local/lib -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
>
> -Wl,-rpath,/usr/local/lib sieht wirklich nicht wie eine gültige Option
> aus, aber diese Mitteilung in configure hilft mir auch nicht weiter, ich
> kapier's nicht:
>
> #--------------------------------------------------------------------
> # This section is based on analogous thing in Tk installation. - DEL
> # Various manipulations on the search path used at runtime to
> # find shared libraries:
> # 2. On systems such as AIX and Ultrix that use "-L" as the
> # search path option, colons cannot be used to separate
> # directories from each other. Change colons to " -L".
> # 3. Create two sets of search flags, one for use in cc lines
> # and the other for when the linker is invoked directly. In
> # the second case, '-Wl,' must be stripped off and commas must
> # be replaced by spaces.
> #--------------------------------------------------------------------
>
> Im /work/expect-5.38/Makefile steht:
>
> ld -shared -x -o $(EXP_SHARED_LIB_FILE) $(SHARED_OFILES)
> -Wl,-rpath,${LIB_RUNTIME_DIR} -L/usr/local/lib -ltcl83${TCL_DBGX} -lm
> -lc
>
> Ich will hier nicht an was fummeln, wovon ich keine Ahnung habe, also
> hier ein Komma durch ein Leerzeichen ersetzen etc. Frage lieber
> jemanden, der sich damit auskennt :)
>
> Was muss ich machen, um die obige Fehlermeldung nicht mehr sehen zu
> müssen? Außer Wegsehen ...

Nicht installieren :) Für mich hat sich expect _erstmal_ erledigt,

echo $pass | pw usermod $login -h 0

macht genau, was es soll. Ich war schon kurz davor, über vipw(8) die
Passwörter zu ändern, da kam mir nach stundenlanger googlegroups Lektüre
die Manpage von pw in den Sinn :)

Natürlich interessiert mich eine Lösung des oben genannten Problems
immer noch, nur ist es nicht mehr so dringend.

Beste Grüße,
Robert

-- 
CONCORDIA DOMI FORIS PAX
To Unsubscribe: send mail to majordomo.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 16 Sep 2003 - 03:23:22 CEST

search this site