Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

./configure ne vidi libstdc++-dev

[es] :: Linux :: ./configure ne vidi libstdc++-dev

[ Pregleda: 2257 | Odgovora: 10 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Nikola Milić
kv

Član broj: 25944
Poruke: 12
82.208.236.*



Profil

icon ./configure ne vidi libstdc++-dev20.05.2006. u 18:07 - pre 218 meseci
Evo već nekoliko programa u SUSE-u 10 ne mogu da kompajliram jer configure stalno prijavljuje grešku :

checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.

Ja naravno najnoviju verziju tog paketa imam instaliranu (4.0.2_20050901-3), al džabe... Instalirao sam stari gcc verzije 3.3.3-41 ako to ima neke veze...

Ovo je drugi forum na kojem postavljam isto pitanje, pa bih stvarno bio zahvalan za bilo kakvu pomoć.
 
Odgovor na temu

random
Vladimir Vrzić
Beograd

Član broj: 85
Poruke: 3866
*.f.bg.ac.yu.

Sajt: www.last.fm/user/vrza


+4 Profil

icon Re: ./configure ne vidi libstdc++-dev21.05.2006. u 12:45 - pre 218 meseci
Šta kaže config.log?
int rand(void);

Those who do not understand Unix are condemned to reinvent it, poorly.

Upali lampicu — koristi Jabber!
 
Odgovor na temu

Nikola Milić
kv

Član broj: 25944
Poruke: 12
82.208.236.*



Profil

icon Re: ./configure ne vidi libstdc++-dev21.05.2006. u 17:24 - pre 218 meseci
Citat:

Evo, mada nisam siguran da sam trebao ovako da pastujem...
P.S. Skoro sam se prebacio na linux, tako da meni log ne govori mnogo :)


nakačio sam log dole...

A i problem sam privremeno rešio vraćanjem na aktuelnu verziju gcc-a, pa ako neki prog. ne bude hteo da se kompajlira uz novu (kao Mplayer), opet ću da sse prebacim na staru, itd, itd... Da li to može da škodi instalaciji OS-a ?




[Ovu poruku je menjao Serijski_Ubica dana 21.05.2006. u 23:25 GMT+1]
Prikačeni fajlovi
 
Odgovor na temu

random
Vladimir Vrzić
Beograd

Član broj: 85
Poruke: 3866
*.eunet.yu.

Sajt: www.last.fm/user/vrza


+4 Profil

icon Re: ./configure ne vidi libstdc++-dev22.05.2006. u 00:34 - pre 218 meseci
Moraš da imaš instaliran gcc 3.3.3 i libstdc++-dev-3.3.3 (ili koju već verziju hoćeš). Proveri da li imaš fajl

/usr/lib/gcc/i686-pc-linux-gnu/3.3.3/include/g++-v3/string

ili nešto slično (nemam SuSE da proverim tačno).

Evo relevantnog isečka iz tvog config.log:

Code:

configure:22120: checking if C++ programs can be compiled
configure:22149: g++ -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor  -fno-check-new -fno-common  conftest.cc >&5
conftest.cc:27:18: string: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:34: error: `string' undeclared (first use this function)
conftest.cc:34: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
conftest.cc:34: error: syntax error before `=' token
conftest.cc:35: error: `astring' undeclared (first use this function)
configure:22155: $? = 1
configure: failed program was:
| /* confdefs.h.  */

| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "superkaramba-0.39"
| #define VERSION "3.5.2"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define KDELIBSUFF ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */

| #include <string>
| using namespace std;

| int
| main ()
| {

|   string astring="Hallo Welt.";
|   astring.erase(0, 6); // now astring is "Welt"
|   return 0;

|   ;
|   return 0;
| }
configure:22182: result: no
configure:22195: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.


[Ovu poruku je menjao random dana 22.05.2006. u 07:37 GMT+1]
int rand(void);

Those who do not understand Unix are condemned to reinvent it, poorly.

Upali lampicu — koristi Jabber!
 
Odgovor na temu

codemaster
Dušan Jović
Leskovac/Novi Sad

Član broj: 17387
Poruke: 263
..mtsns-ns.customer.sbb.co.yu.

Sajt: swim.ee


Profil

icon Re: ./configure ne vidi libstdc++-dev28.05.2006. u 21:50 - pre 218 meseci
Ja imam slican problem na FreeBSD-u, sa ld-elf.so, koji prijavljuje gresku tipa libm.so.4 ili libc.so.6 libz.so.4 not found.

Kom paketu (?) pripadaju te libs, tj gde da ih nadjem/instaliram. U /usr/local/lib imam libm.so i libc.so, ali *.so.4 nemam...
Sve je ovde.
Ti si sam.
Nemaš ništa.
Prihvati svoj život.
 
Odgovor na temu

VRider
Marković Damir
(BGD/SD Karaburma)/Pirot

Član broj: 1510
Poruke: 4132
*.maksnet.net.

Jabber: damirm | gmail | com
ICQ: 134002435


+13 Profil

icon Re: ./configure ne vidi libstdc++-dev28.05.2006. u 23:22 - pre 218 meseci
Napravi hard/soft linkove.
JaFreelancer.com
 
Odgovor na temu

codemaster
Dušan Jović
Leskovac/Novi Sad

Član broj: 17387
Poruke: 263
..mtsns-ns.customer.sbb.co.yu.

Sajt: swim.ee


Profil

icon Re: ./configure ne vidi libstdc++-dev29.05.2006. u 15:18 - pre 218 meseci
Citat:
VRider: Napravi hard/soft linkove.

Linkove ka cemu, kad ih nema??? Jel su to samo kopije, da napravim hard linkove od libm.so???
Jednostavno: sta oznacava taj broj iza?
Code:
libm.so.4 libc.so.6

+
Sve je ovde.
Ti si sam.
Nemaš ništa.
Prihvati svoj život.
 
Odgovor na temu

VRider
Marković Damir
(BGD/SD Karaburma)/Pirot

Član broj: 1510
Poruke: 4132
*.maksnet.net.

Jabber: damirm | gmail | com
ICQ: 134002435


+13 Profil

icon Re: ./configure ne vidi libstdc++-dev29.05.2006. u 15:22 - pre 218 meseci
To su mu neke verzije, kurci, palci.
Ti samo napravi link libm.so.4 koji pokazuje na libm.so i potom pokreni ldconfig da regenerise cache.
JaFreelancer.com
 
Odgovor na temu

codemaster
Dušan Jović
Leskovac/Novi Sad

Član broj: 17387
Poruke: 263
..mtsns-ns.customer.sbb.co.yu.

Sajt: swim.ee


Profil

icon Re: ./configure ne vidi libstdc++-dev29.05.2006. u 15:34 - pre 218 meseci
Ima necega ovde.
Code:
>>>libm.so
 
Sounds like you recently upgraded but don't have the compatible libraries 
in /etc/make.conf make sure you have:
COMPAT4X=       yes

And then rebuild the world.

You might also want to have:
options         COMPAT_FREEBSD4
In your kernel config file.

>>>libz.so


For the past week I've been intermittently updating a
FreeBSD-4.9 to 4.10p2.

buildworld and kernel did OK and I'm now dealing with ports.

After updating the system (and I do not remember if this
also had to do with updating a port also), messages of the
type:

/usr/libexec/ld-elf.so.1: Shared object "libz.so.1" not found 

>>>libc.so


Why it say ""/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not find"" when I run Portupgrade??
where is libc.so.5?

evo odgovora
Code:
>> so do I need to copy it from 4.x-STABLE?

No, your system is 5.0?

>> install from where?

It should be in there already if your system is 5.0. If it's not there, then CVSup the source and do the buildworld to update your system.

Sve je ovde.
Ti si sam.
Nemaš ništa.
Prihvati svoj život.
 
Odgovor na temu

codemaster
Dušan Jović
Leskovac/Novi Sad

Član broj: 17387
Poruke: 263
..mtsns-ns.customer.sbb.co.yu.

Sajt: swim.ee


Profil

icon Re: ./configure ne vidi libstdc++-dev29.05.2006. u 15:39 - pre 218 meseci
Ima necega ovde.
Code:
>>>libm.so
 
Sounds like you recently upgraded but don't have the compatible libraries 
in /etc/make.conf make sure you have:
COMPAT4X=       yes

And then rebuild the world.

You might also want to have:
options         COMPAT_FREEBSD4
In your kernel config file.

>>>libz.so


For the past week I've been intermittently updating a
FreeBSD-4.9 to 4.10p2.

buildworld and kernel did OK and I'm now dealing with ports.

After updating the system (and I do not remember if this
also had to do with updating a port also), messages of the
type:

/usr/libexec/ld-elf.so.1: Shared object "libz.so.1" not found 

>>>libc.so


Why it say ""/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not find"" when I run Portupgrade??
where is libc.so.5?

evo odgovora
Code:
>> so do I need to copy it from 4.x-STABLE?

No, your system is 5.0?

>> install from where?

It should be in there already if your system is 5.0. If it's not there, then CVSup the source and do the buildworld to update your system.


Sad ja pitam:

1. Da li je libm.so.4 nova verzija libm.so ili njen simbolicki link?? (ako nije nova verzija, VRider, vec simbolicki link, zasto onda postoje ti linkovi uopste???)

2. libm libc i libz su??? Sistemske libs?

3. Problem: /usr/libexec/ld-elf.so.1: Shared object "libm.so.4" not found mi se javlja svaki put kada pokusam da pokrenem neki console based program (mplayer, amp...). O cemu se radi? Da li svaki program koji se pokrece u shell-u poziva te system libraries? (probao sam da kopiram
Code:
cp /usr/local/lib/libm.so /usr/local/lib/libm.so.4
ali onda trazi libc ili libz.so.6, kada sam i njih kopirao onda javlja nesto kao error in line bla bla ili nesto slicno, sto me je navelo da pomislim da su to razlicite verzije...)

Resenje je da 'instaliram' te libs, zar ne...kako??? CVSup source-a ili moze drugacije??

Sve je ovde.
Ti si sam.
Nemaš ništa.
Prihvati svoj život.
 
Odgovor na temu

codemaster
Dušan Jović
Leskovac/Novi Sad

Član broj: 17387
Poruke: 263
..mtsns-ns.customer.sbb.co.yu.

Sajt: swim.ee


Profil

icon Re: ./configure ne vidi libstdc++-dev29.05.2006. u 15:52 - pre 218 meseci
Evo ovde o system libraries.
Sve je ovde.
Ti si sam.
Nemaš ništa.
Prihvati svoj život.
 
Odgovor na temu

[es] :: Linux :: ./configure ne vidi libstdc++-dev

[ Pregleda: 2257 | Odgovora: 10 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.