Closed GoogleCodeExporter closed 8 years ago
at a quick glance, it looks like you've got your libreadline in the wrong
place, and
aren't telling configure where it is.
You're indicating that you have the libreadline in /usr/lib, so in your iPhuc
directory, do the following commands:
make distclean
./autogen.sh && ./configure --with-readline=/usr && make
If that doesn't work, you may want to double check how you installed readline,
it
shouldn't be pointing to libedit (I don't think), you should have the following
files
somewhere:
/opt/local/lib/libreadline.5.0.dylib
/opt/local/lib/libreadline.5.1.dylib
/opt/local/lib/libreadline.5.2.dylib
/opt/local/lib/libreadline.5.dylib
/opt/local/lib/libreadline.a
/opt/local/lib/libreadline.dylib
along with the header files in:
/opt/local/include/readline
Now, you may not have them in /opt/local, you may have another prefix (which is
what
you need to specify in the command:
./autogen.sh && ./configure --with-readline=/path/to/readline/prefix && make
Hope that helps.
Original comment by masterof...@gmail.com
on 15 Aug 2007 at 5:57
The point here is that the binary release version which was throwing the error
isn't
suppposed to include libreadline.
On the custom compile, I'd tried ./configure --without-readline and got that
error.
Original comment by mcinto...@gmail.com
on 17 Aug 2007 at 2:42
Right, and it's not only referencing libreadline (at the hard-coded path
/opt/local/lib/libreadline.5.2.dylib) but it's including libncurses there as
well.
Are you sure you uploaded the right file?
-- st3veh
$ otool -L iphuc-universal
iphuc-universal:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 368.28.0)
/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
(compatibility version 1.0.0, current version 1.0.0)
/opt/local/lib/libncurses.5.dylib (compatibility version 5.0.0, current
version 5.0.0)
/opt/local/lib/libreadline.5.2.dylib (compatibility version 5.0.0, current
version 5.2.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9)
Original comment by steve.ha...@gmail.com
on 19 Aug 2007 at 8:02
As of the current version, you can build iPhuc without external readline and
forgo the tab completion. As well, if
you cant get it to build or if you dont know enough about the GNU build tools
we recommend just downloading
the universal binary.
Original comment by iphucm...@gmail.com
on 29 Aug 2007 at 2:40
Original comment by iphucm...@gmail.com
on 29 Aug 2007 at 2:40
Original issue reported on code.google.com by
mcinto...@gmail.com
on 15 Aug 2007 at 2:50