bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] A bug-like problem


From: Mahdi Mohebbi
Subject: [Bug-readline] A bug-like problem
Date: Sat, 1 Mar 2008 07:49:56 -0500

Dear Sir/Madam,

Here is a problem (and a solution) I came across recently:

-READLINE VERSION AND RELEASE: 5.2
-MACHINE AND OS: Powerbook G4, MacOS X (Leopard) (host-os as detected by configure: darwin9.2.0
-config.h IS ATTACHED.

-DESCRIPTION: The make process stops with the following error (The problem is the -dynamic flag which should be -dynamiclib.)

gcc -dynamic -arch_only `/usr/bin/arch` -install_name /opt/readline-5.2/lib/libreadline.5.2.dylib -current_version 5.2 -compatibility_version 5 -v -o libreadline.5.2.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lncurses
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
powerpc-apple-darwin9-gcc-4.0.1: -compatibility_version only allowed with -dynamiclib
make[1]: *** [libreadline.5.2.dylib] Error 1
make: [shared] Error 2 (ignored)

-RECIPE: I configured with ./configure --prefix=/opt/readline-5.2 --enable-multibyte.
-FIX: I changed line 145 of "shobj-conf" from "darwin8*)" to "darwin[89]*)" and it compiles (and installs) successfully. However I am not sure this is an elegant fi
x.

Regard,
mahdi

Attachment: config.h
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]