/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
Installation af Apache 1.3.22
Fra : Andreas N Rasmussen


Dato : 02-12-01 16:02

Hej, håber at I kan hjælpe mig, for jeg kan ikke finde svar nogensteder.

Jeg er unix-newbie (har vel haft boksen i en måneds tid på nedsat blus),
og har nu brugt et par dage på at installere apache. Den rpm-pakke der
fulgte med min distro er dog desværre 1.3.14 og derfor vil jeg gerne
installere den nyeste.

Jeg følger anvisningen på apache.org og sslug.dk men jeg får hvergang en
fejl: "setting C pre-processor to NOT-AVAILABLE", når jeg forsøger at
installere. Som det ses nederst har jeg gcc inde, så jeg forstår ikke
hvad der er galt.

Bør vel lige nævne at det er Linux/PPC-Q4 den kører, som så vidt jeg ved
er det samme som RedHat 6.1/2

På forhånd tak for hjælpen

MVH ANR

"Ah, 206 bones, 50 miles of small intestine, full, pouting lips.
Why, this fellow is less a snowman - than a god."
-Montgomery Burns

afskrift fra terminal://

[root@localhost /apache_1.3.22]# ./configure --prefix=/usr/local/apache
Configuring for Apache, Version 1.3.22
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
../helpers/TestCompile: make: command not found
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to NOT-AVAILABLE
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
============= End of Error Report =============

Aborting!
[root@localhost /apache_1.3.22]# gcc -v
Reading specs from /usr/lib/gcc-lib/ppc-redhat-linux/2.95.3/specs
gcc version 2.95.3 20001130 (prerelease/franzo/20001204)
[root@localhost /apache_1.3.22]#

 
 
Ole Michaelsen (02-12-2001)
Kommentar
Fra : Ole Michaelsen


Dato : 02-12-01 16:08

Andreas N Rasmussen wrote:

> ./helpers/TestCompile: make: command not found

Har du 'make'?

Vh,

Ole.

--
power-lusers (read: running latest and greatest from Freshmeat,
insecure at extreme, owner does everything logged in as root cause
he finally got root on a Unix box and that makes his dick way longer).
-- Alexander Viro on comp.security.unix

Andreas N Rasmussen (02-12-2001)
Kommentar
Fra : Andreas N Rasmussen


Dato : 02-12-01 16:37

Ole Michaelsen <omic+usenet3@fys.ku.dk> wrote:

> > ./helpers/TestCompile: make: command not found
>
> Har du 'make'?

Se der følte jeg mig meget åndsvag et øjeblik. Utrolig hvordan man kan
se sig blind på noget, men resultatet efter installering af make, ser nu
endnu mere mærkeligt ud(nederst).

Forslag?

MVH ANR

"If you look up 'stupid' in the dictionary, there will be a picture of
me!"
-Homer Simpson

root@localhost apache_1.3.22]# ./configure --prefix=/usr/local/apache
Configuring for Apache, Version 1.3.22
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
cd ..; gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEED
ED `./apaci` -o helpers/dummy helpers/dummy.c -lm
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to NOT-AVAILABLE
[root@localhost apache_1.3.22]# ./configure --prefix=/usr/local/apache
Configuring for Apache, Version 1.3.22
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
cd ..; gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEED
ED `./apaci` -o helpers/dummy helpers/dummy.c -lm
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to NOT-AVAILABLE
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
============= End of Error Report =============

Aborting!
[root@localhost apache_1.3.22]# make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for powerpc-redhat-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.


Thorbjoern Ravn Ande~ (02-12-2001)
Kommentar
Fra : Thorbjoern Ravn Ande~


Dato : 02-12-01 16:39

anrNOTPART@OFMAILmac.com (Andreas N Rasmussen) writes:

> ED `./apaci` -o helpers/dummy helpers/dummy.c -lm
> /usr/bin/ld: cannot open crt1.o: No such file or directory

Der mangler et runtime-bibliotek. Har du overset nogen afhængigheder
da du installerede gcc?

--
Thorbjørn Ravn Andersen
http://unixsnedkeren.dk

Andreas N Rasmussen (02-12-2001)
Kommentar
Fra : Andreas N Rasmussen


Dato : 02-12-01 16:55

Thorbjoern Ravn Andersen <thunderbear@bigfoot.com> wrote:

> > ED `./apaci` -o helpers/dummy helpers/dummy.c -lm
> > /usr/bin/ld: cannot open crt1.o: No such file or directory
>
> Der mangler et runtime-bibliotek. Har du overset nogen afhængigheder
> da du installerede gcc?

Ja, det regnede jeg også med det betød, men jeg installerede gcc (og nu
også make) vha. dl'ede rpm-pakker fra en finsk server, så det burde vel
ordnes automatisk.
Er det noget der kan fixes manuelt?

MVH ANR

"Guns aren't toys! They're for family protection, hunting dangerous or
delicious animals, and keeping the King of England out of your face.
-Homer Simpson

Thomas Overgaard (02-12-2001)
Kommentar
Fra : Thomas Overgaard


Dato : 02-12-01 16:58

Andreas N Rasmussen wrote:
>
> Forslag?
<cut>
> /usr/bin/ld: cannot open crt1.o: No such file or directory

Brug rpmfind i den her slags tilfælde:
<URL: http://rpmfind.net/linux/rpm2html/search.php>

Et opslag her viser det er glibc-devel pakken du mangler at installere.
--
Thomas O.

This area is designed to become quite warm during normal operation.

Andreas N Rasmussen (02-12-2001)
Kommentar
Fra : Andreas N Rasmussen


Dato : 02-12-01 18:27

Thomas Overgaard <thover@post2.tele.dk> wrote:

> Andreas N Rasmussen wrote:
> >
> > Forslag?
> <cut>
> > /usr/bin/ld: cannot open crt1.o: No such file or directory
>
> Brug rpmfind i den her slags tilfælde:
> <URL: http://rpmfind.net/linux/rpm2html/search.php>

Genialt! Den er noteret.

> Et opslag her viser det er glibc-devel pakken du mangler at installere.

Mange tak. Den er hevet ned med xupdate, og nu kører det bare.

MVH ANR

"Where is Bart, anyway? His dinner's getting all cold and eaten."
-Homer Simpson

Søg
Reklame
Statistik
Spørgsmål : 177557
Tips : 31968
Nyheder : 719565
Indlæg : 6408885
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste