Home > Gcc Error > Gcc Error Readline/libreadline.a

Gcc Error Readline/libreadline.a

These variables are used to override or tweak the standard build process. yes checking wchar.h usability... I'll investigate further... -Stefan — Reply to this email directly or view it on GitHubhttps://github.com/ludwigschwardt/python-readline/issues/28#issuecomment-30544497 . build 5465) /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/collect2 -dynamic -dylib -dylib_compatibility_version 5 -dylib_current_version 5.2 -arch ppc -dylib_install_name /opt/local/lib/libhistory.5.2.dylib -dynamic -macosx_version_min 10.3 -undefined dynamic_lookup -weak_reference_mismatches non-weak -undefined dynamic_lookup -o libhistory.5.2.dylib -ldylib1.o -L/opt/local/lib -L/usr/lib/powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/../../../powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/../../..

What now? What platform/operating system are you using? yes checking for wint_t in wctype.h... yes checking for fcntl.h... http://stackoverflow.com/questions/22166277/gcc-error-when-im-trying-to-install-readline-6-2

yes checking for termcap.h... Linked 3 Bloomberg python api blpapi3.5.5 install error about missing blpapi_types.h Related 34Ipython no readline available and pip install readline error4python-ldap failed to install in Heroku27Difference between $HOME and '~' (tilde)?30Installing Browse other questions tagged python readline ipython pip or ask your own question. asked 4 years ago viewed 50902 times active 2 years ago Linked 1 Configure error 3 How to solve Fatal error: Call to undefined function readline()?

If there are no libncurses*.{o,so,so.[0-9].[0-9]} files on your system, just install the library, and the readline. gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARACTER - DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES - DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -I. -I/usr/local/include/python2.7 -c Modules/2.x/readline.c -o build/temp.linux-x86_64-2.7/Modules/2.x/readline.o -Wno-strict-prototypes gcc -pthread -shared yes checking for isxdigit... Thanks. –tchakravarty Oct 4 '15 at 11:29 add a comment| up vote 3 down vote You have a linker error: library ncurses is not installed, or it is installed and the

Owner ludwigschwardt commented Oct 24, 2012 I successfully installed readline 6.2.4.1 on a brand spanking vanilla Ubuntu 12.10 installation in a VM as follows: sudo apt-get install python-setuptools python-dev ncurses-dev sudo Post your question and get tips & solutions from a community of 418,890 IT Pros & Developers. comment:4 Changed 8 years ago by [email protected]… Just adding a "me, too". browse this site Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the

Unless you are not planning to do any further compilation, then go ahead and use AR! Please let me know if this solves your problem! How do I approach this? Anyway, after looking in the mentioned dir above, I found no 'dir' in destroot/opt/local/share/info, so I just commented the 'delete' line in the portfile.

All the output you got following "Removing build directory for readline" is expected -- you must have been in the build directory, and then MacPorts deleted the build directory, and then https://github.com/ludwigschwardt/python-gnureadline/issues/28 Tested on 10.6 System Python and 10.9 Homebrew Python.">Remove all custom compile/link flags for extension … It is time for this bit of cargo-culting to go. Who lost to Glass Joe? johansen commented Feb 19, 2014 My Xcode is the latest, and I believe the command line tools are already installed as well.

comment:2 Changed 8 years ago by ryandesign (Ryan Schmidt) Cc [email protected]… added Milestone set to Port Bugs Yes, -d implies -v. -v does not imply -d. -d is a superset of yes checking for struct dirent.d_fileno... configure: error: in `/Users/joshuahansen/Projects/MotherBrain/venv_py33/build/gnureadline/rl/readline-lib': configure: error: C compiler cannot create executables See `config.log' for more details. ============ Building the readline library ============ ============ Building the readline extension module ============ building 'gnureadline' The 'strict prototypes' C warning does not have to be suppressed anymore as the underlying cause has been fixed in recent versions of the module.

However, pip reports "unknown archive format: .whl" and then skips to the source distribution. The latest binary (6.2.5) doesn't appear to solve the problem. I would not think that the python-readline package is needed on your system, as the standard Python packages on Ubuntu have proper readline support already built in. yes checking locale.h usability...

The GNU history library API. share|improve this answer answered Jul 8 '11 at 10:22 tmaric 2,1271337 add a comment| up vote 0 down vote I had the same issue with my Ubuntu 14.04 install trying to yes checking whether signal handlers are of type void...

It looks like you're on a PowerPC with Mac OS X 10.5.3...

Both are unreliable and were eventually removed (see issue #5). Browse other questions tagged python gcc centos or ask your own question. yes checking configuration for building shared libraries... How did I survive this shock?

Is there such thing as a "Black Box" that decrypts internet traffic? There is therefore no need to override or detect this and the module will be built as universal if needs be. weird). –Steven Lu May 20 '15 at 21:41 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted As stated in the comment by @steven-lu , doing something like "sudo port install gcc47 +universal"?

This will avoid a lot of these build issues. no checking whether the ctype macros accept non-ascii characters... We recommend upgrading to the latest Safari, Google Chrome, or Firefox. Cheers Jesper Oct 8 '05 #2 This discussion thread is closed Start new discussion Replies have been disabled for this discussion.

Owner ludwigschwardt commented Oct 25, 2012 As you can see from these discussions this issue is typically related to problems in the build environment as opposed to a problem with python-readline L. gcc checking for C compiler default output file name... no checking for dirent.h that defines DIR...

Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-byUz9r/readline/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-4qfEGl-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-byUz9r/readline Storing debug log for failure in /root/.pip/pip.log See, o checking whether we are using the GNU C compiler... Why don't major research institutions systematically publish their subscription fees to scientific journals? 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

yes checking for tcgetattr... comment:5 Changed 8 years ago by [email protected]… Port readline added Resolution set to fixed Status changed from new to closed Fixed in r49336. yes checking fcntl.h presence... stackoverflow.com/a/23134706/340947 yum -y install patch.

yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking varargs.h usability... Of course.. ;) Yea, share/info was there, but with nothing in it (., ..