new error.... configure: error: cannot run C compiled programs. If you meant to cross compie, use '--host'

J. ORIOL famach at yahoo.com
Tue Dec 23 18:51:54 GMT 2003


Hi.
I'm not sure if this helps you.
If I'm not wrong, lipq belong postgres DB. I had
problems with my app since I've not installed
postgres-devel package.

Bye. Oriol M.

--- Peggy Go <shatz_go at yahoo.com> wrote:
> HI! I've already fixed the error but unfortunately
> another error came up. It says:
>  
> checking whether the C compiler works... configure:
> error: cannot run C compiled programs. If you meant
> to cross compie, use '--host'.
> 
> I saw in the config.log this line:
>  
> configure: 2507: ./a.out
> ./a.out: error while loading shared libraries:
> libpqxx.so.1: cannot open shared object file: No
> such file or directory
>  
> 
> Ole Jacob Hagen <waterthrill at yahoo.no> wrote:
> Hi, Peggy.
> 
> Last try....
> Have you installed libXext-development packages? 
> 
> You can find it in CD2 of your Shrike-CD's: 
> XFree86-devel-4.3.0-2.i386.rpm
> 
> I believe that this might be a step closer to a
> solution of the problems of 
> yours.....
> 
> 
> Cheers, 
> 
> Ole J. 
> 
> 
> 
> On Monday 22 December 2003 12:48, you wrote:
> > HI! I'm also using Redhat9.0
> >
> > I already checked the checkboxes for Xext and X11
> > libraries but I still got the same error: checking
> for
> > libXext... no configure: error: We need a working
> > libXext to proceed. Since configure can't find it
> > itself, we stop here assuming that make wouldn't
> find
> > them either.
> > *** failed ***
> >
> > :( :(
> >
> > --- Ole Jacob Hagen wrote:
> > > Hi, again.
> > >
> > >
> > > kdevelop-2.1.5? Sorry, I took it for granted
> that
> > > you were using
> > > kdevelop-3.0...My fault. I guess someone has a
> > > kdevelop-rpm.
> > > I've got one myself, but it's for RedHat 9
> (Shrike).
> > >
> > > Hmm, I believe there should be an automake
> manager
> > > in this as well...
> > > Nope...But in an option called Build-Settings
> > > (Project Options dialog), you
> > > are able to change linker options.
> > >
> > > Check the checkboxes for Xext and X11 libraries,
> to
> > > enabling linking to these
> > > libraries. Then run automake and all that.
> > >
> > > I guess you should be able to build your
> wonderful
> > > application....
> > >
> > >
> > > Cheers,
> > >
> > > Ole J.
> > >
> > > On Monday 22 December 2003 06:12, you wrote:
> > > > by the way I'm still using KDevelop version
> 2.1.5
> > >
> > > I
> > >
> > > > haven't upgraded to the latest version yet
> because
> > >
> > > I
> > >
> > > > don't know which files to download. There are
> lots
> > >
> > > of
> > >
> > > > files in the kdevelop site.
> > > >
> > > > --- Ole Jacob Hagen wrote:
> > > > > Hi.
> > > > >
> > > > > Hmm, not easy to say without source.
> > > > >
> > > > > First of all:
> > > > > 1. Check include-path of your project.
> > > > > 2. Check library-path of your project.
> > > > >
> > > > > Have you tried to add the library libXext in
> the
> > > > > automake manager?
> > > > > Add this to your active project (binary), in
> the
> > > > > Target Options; Link to
> > > > > Libraries outside project (LDADD). You
> should
> > >
> > > enter
> > >
> > > > > -lXext here.
> > > > > I guess you have $(x_includes) and
> > >
> > > $(x_libraries)
> > >
> > > > > also in "Target Options",
> > > > > Flags, Other: $(x_libraries)?
> > > > >
> > > > > Hope this will help you further on the
> > >
> > > kdevelop-way
> > >
> > > > > to develop SW.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Ole J.
> > > > >
> > > > > On Monday 22 December 2003 04:51, Peggy Go
> > >
> > > wrote:
> > > > > > HI! I'm trying to compile my program but I
> got
> > > > >
> > > > > this
> > > > >
> > > > > > error:
> > > > > >
> > > > > >
> /home/shatz/our_coach/our_coach/dbase.cpp:26:
> > > > > > undefined reference to
> > > > > >
> `pqxx::connection::connection[in-charge]()'
> > > > > >
> > > > > > so I linked the library by typing in
> > > > > > "/usr/local/pqxx/lib" to --x-library but
> after
> > > > >
> > > > > that, I
> > > > >
> > > > > > got this error:
> > > > > >
> > > > > > configure: error: We need a working
> libXext to
> > > > > > proceed. Since configure
> > > > > > can't find it itself, we stop here
> assuming
> > >
> > > that
> > >
> > > > > make
> > > > >
> > > > > > wouldn't find
> > > > > > them either.
> > > > > >
> > > > > > What should I do???
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > >
> > > > > > __________________________________
> > > > > > Do you Yahoo!?
> > > > > > New Yahoo! Photos - easier uploading and
> > >
> > > sharing.
> > >
> > > > > > http://photos.yahoo.com/
> > > > > >
> > > > > > -
> > > > > > to unsubscribe from this list send an
> email to
> > > > > > kdevelop-request at kdevelop.org with the
> > >
> > > following
> > >
> > >
> > > -
> > > to unsubscribe from this list send an email to
> > > kdevelop-request at kdevelop.org with the following
> > > body:
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list