-
Notifications
You must be signed in to change notification settings - Fork 580
Error Report #8460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From [email protected]Hi, I ran the configure script using the command sh Configure Checking your choice of C compiler and flags for coherency... #include <stdio.h> I used the command: gcc -o try -O -fno-strict-aliasing -pipe -I/usr/local/include and I got the following output: ld: fatal: library -ldbm: not found I do not know how to get around this problem. Please advice. Sriram Madduri |
From [email protected]On 2006–05–24, at 13:17, sriram.madduri@tcs.com (via RT) wrote:
Please tell us about your system and the version of perl that you are $ uname -a Just paste the output of the uname -a, gcc --version and pwd commands If you are not using the latest released version of Perl (5.8.8), I |
The RT System itself - Status changed from 'new' to 'open' |
From @doughera88On Wed, 24 May 2006, sriram . madduri @ tcs . com wrote:
This isn't supposed to happen, obviously. It's unusual for Configure to However, such manual workarounds are a sign that Configure didn't do its Thanks, -- |
From [email protected]Hi, I am writing the outputs for the commands you asked me to execute. #uname -a The commands cc -v and gcc -v are not working. It says cc: not found or I cannot find libraries -ldbm, -lld, and -lucb in the usual places it Sriram Madduri "Andy Dougherty via RT" <perlbug-followup@perl.org> To Subject On Wed, 24 May 2006, sriram . madduri @ tcs . com wrote:
This isn't supposed to happen, obviously. It's unusual for Configure to However, such manual workarounds are a sign that Configure didn't do its compiler normally looks? If so, are those libraries valid? Thanks, -- ForwardSourceID:NT0000F35E |
From @smpetersOn Fri, May 26, 2006 at 01:47:59PM +0530, sriram.madduri@tcs.com wrote:
Before attempting to install Perl from source, you'll need to install a Steve Peters |
From @doughera88On Fri, 26 May 2006, sriram.madduri@tcs.com wrote:
Ok, that's pretty much what I have here. (I have an Ultra-5_10, but that
It's probably a PATH issue. Configure tries adding various common
Odd. Very odd. The Solaris hints should have prevented Configure from Could you please run the following and mail me the complete output? sh Configure -Dprefix=/opt/perl -Dcc=gcc -dE I'll look through and see if I can figure out what it's trying to do. Thanks, -- |
From [email protected]Beginning of configuration questions for perl5. Checking echo to see how to suppress newlines... First let's make sure your kit is complete. Checking... Would you like to see the instructions? [n] Locating common programs... Don't worry if any of the following aren't found... Checking compatibility between /usr/bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links... Good, your tr supports [:lower:] and [:upper:] to convert case. First time through, eh? I have some defaults handy for some systems 3b1 dos_djgpp irix_6_0 nonstopux sunos_4_0 You may give one or more space-separated answers, or "none" if appropriate. Which of these apply, if any? [solaris_2] Configure uses the operating system name and version to set some defaults. Operating system name? [solaris] Operating system version? [2.8] Perl can be built to use the SOCKS proxy protocol library. To do so, If this doesn't make any sense to you, just accept the default 'n'. Previous version of perl5 used the standard IO mechanisms as If this doesn't make any sense to you, just accept the default 'y'. Perl can be built to take advantage of threads on some systems. Note that Perl built with threading support runs slightly slower If this doesn't make any sense to you, just accept the default 'n'. Perl can be built so that multiple Perl interpreters can coexist If this doesn't make any sense to you, just accept the default 'n'. Hmm... Looks kind of like a USG system with BSD features, but we'll see... Congratulations. You aren't running Eunice. It's not Xenix... Nor is it Venix... Checking for GNU cc in disguise and/or its version number... *** WHOA THERE!!! *** Your gcc has not been compiled for the exact release of In general it is a good idea to keep gcc synchronized with I'm trying to be optimistic here, though, and will continue. Hmm... Doesn't look like a MIPS system. Now, how can we feed standard input to your C preprocessor... Some systems have incompatible or broken versions of libraries. Among Directories to use for library searches? On some systems, shared libraries may be available. Answer 'none' if What is the file extension used for shared libraries? [so] Perl can be built to take advantage of long doubles which If this doesn't make any sense to you, just accept the default 'n'. Checking for optional libraries... In order to compile perl5 on your machine, a number of libraries What libraries to use? [-lsocket -lnsl -lgdbm -ldl -lm -lc] By default, perl5 compiles with the -O flag to use the optimizer. What optimizer/debugger flag should be used? [-O] Checking if your compiler accepts -fno-strict-aliasing Checking if your compiler accepts -pipe Your C compiler may want other flags. For this question you should include To use no flags, specify the word "none". Any additional cc flags? [-fno-strict-aliasing -pipe -I/usr/local/include] Let me guess what the preprocessor flags are... Your C linker may need flags. For this question you should Make sure you include the appropriate -L/path flags if your C linker Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... #include <stdio.h> I used the command: gcc -o try -O -fno-strict-aliasing -pipe -I/usr/local/include -L/usr/local/lib try.c -lsocket -lnsl -lgdbm -ldl -lm -lc and I got the following output: ld.so.1: ./try: fatal: libgdbm.so.2: open failed: No such file or directory You have a problem. Shall I abort Configure [y]
|
From @doughera88On Mon, 29 May 2006, sriram.madduri@tcs.com wrote: [ Configure log ] Two things jump out at me: 1. Look at this warning:
I don't know if that's the source of your problem or not.
That looks very normal.
It found libgdbm somewhere in those directories. Can you figure out
[ . . . ]
Ah, I think I know what it is -- I'll bet you have /usr/local/lib/libgdbm.so.2, but If that's so, then you need to either include -R/usr/local/lib along Try that out and see if it helps. -- |
From [email protected]Andy, I could install PERL successfully. Thanks for the help. Yes, I missed the Thanks again. Sriram Madduri Andy Dougherty <doughera@lafayette.edu> To On Mon, 29 May 2006, sriram.madduri@tcs.com wrote: [ Configure log ] Two things jump out at me: 1. Look at this warning:
I don't know if that's the source of your problem or not.
That looks very normal.
It found libgdbm somewhere in those directories. Can you figure out
[ . . . ]
-I/usr/local/include -L/usr/local/lib try.c -lsocket -lnsl -lgdbm -ldl -lm
Ah, I think I know what it is -- I'll bet you have If that's so, then you need to either include -R/usr/local/lib along Try that out and see if it helps. -- ForwardSourceID:NT0000F6D6 |
@doughera88 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#39195 (status was 'resolved')
Searchable as RT39195$
The text was updated successfully, but these errors were encountered: