Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> MySQL & PHP & Apache - problem z gcc
Killersan
post 9.07.2003, 15:56:28
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 9.07.2003

Ostrzeżenie: (0%)
-----


Mam problem z konfiguracją któregokolwiek z tych programów - mianowicie pojawia mi sie błąd związany z gcc, np, przy próbie konfiguracji mysql'a:

root@server:/usr/local/mysql# ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql
checking build system type... i586-pc-linux
checking host system type... i586-pc-linux
checking target system type... i586-pc-linux
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables

Posiadam Slackware 9 i instalowałem wszystkie gcc jakie są na cd, jest ono w wersji 3.2.2, jak również (bez rezultatu) zainstalowałem przekompilowane pakiety z rh 9 i też nie dało to rezultatu, nadal ten sam błąd, może ktoś wie co jest nie tak. Jeśli to pomoże w diagnozie, to mogę dodać, że nie działa mi kompilowanie plików nazwa_pliku.c poleceniem gcc nazwa_pliku.c -o nazwa_pliku.
Proszę o pomoc, albo chociaż odesłanie do jakiejś konkretnej stronki...
Go to the top of the page
+Quote Post
uboottd
post 9.07.2003, 16:22:11
Post #2





Grupa: Zarejestrowani
Postów: 384
Pomógł: 0
Dołączył: 3.04.2003
Skąd: Chorzow

Ostrzeżenie: (0%)
-----


zacytuj koncowke (~40 linii) pliku config.log tworzonego podczas pracy configura.

A zacznij od upgradu/instalacji pakietu binutils - i powyzsze zrob jak nie pomoze winksmiley.jpg
Go to the top of the page
+Quote Post
Killersan
post 10.07.2003, 10:43:05
Post #3





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 9.07.2003

Ostrzeżenie: (0%)
-----


nowe gcc 2.2.3 i biblioteki pomogły, ale co było z tamtym, do tego nie doszedłem.
Go to the top of the page
+Quote Post
Jabol
post 10.07.2003, 11:32:06
Post #4





Grupa: Przyjaciele php.pl
Postów: 1 467
Pomógł: 13
Dołączył: 22.02.2003

Ostrzeżenie: (0%)
-----


Cytat
nowe gcc 2.2.3
nowe :?: 8O
Go to the top of the page
+Quote Post
Killersan
post 10.07.2003, 22:55:36
Post #5





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 9.07.2003

Ostrzeżenie: (0%)
-----


:oops: przepraszam, juz sie poprawiam gcc 3.2.3
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 04:04