Install Apache. Nu such file or dir .....

Pagina: 1
Acties:

  • Terror
  • Registratie: Juni 1999
  • Laatst online: 21:47
Hi all.

Ik ben momenteel apache aan't installen maar het wil niet. Volgens de onderstaande tutorials moet je als je gaat maken, eerst configure draaien maar dan krijg ik het volgende:
code:
1
2
3
4
5
6
7
8
9
10
[root@localhost Terror]# /home/Terror/apache_1.3.23/configure --prefix=/usr/local/apache --enable-module=most --enable-shared=max
/home/Terror/apache_1.3.23/configure: src/helpers/GuessOS: No such file or directory
cat: src/include/httpd.h: No such file or directory
Configuring for Apache, Version 
/home/Terror/apache_1.3.23/configure: src/helpers/PrintPath: No such file or directory
/home/Terror/apache_1.3.23/configure: src/helpers/PrintPath: No such file or directory
/home/Terror/apache_1.3.23/configure: src/helpers/PrintPath: No such file or directory
grep: src/Configuration.tmpl: No such file or directory
egrep: src/Configuration.tmpl: No such file or directory
configure:Error: Path layout definition file config.layout not found

de uitgepakte .gz file staat in /home/Terror/apache_1.3.23
en de files die die in de src dir zoekt staan in /home/Terror/apache_1.3.23/src.. Al die files lijken me dus op de goeie plek staan, maar waarom ie ze niet kan vinden :?

Ben btw bezig op redhat 7.2. Nu zou je natuurlijk zeggen. Gebruik de rpm's. Maar Redhat blijft volhouden dat ik apache al erop heb staan. Alleen heb ik het er nooit opgezet en na veel zoeken ben ik nogsteeds van mening dat ie er niet op staat.

Back to topic. WTF wil die die dirs niet vinden en hoe krijg ik dat goed?

Tutorials
http://www.linuxguruz.org/z.php?id=31
http://www.phpfreakz.nl/artikelen.php?aid=85&page=3

Dell XPS M1530 (Red) | T8300 | 4 GB | 750 GB 7200 rpm | 8600m GT | Wifi N | 1440x900 LG | 9 Cells | Windows 8.1 Pro x64


  • igmar
  • Registratie: April 2000
  • Laatst online: 29-06 18:56

igmar

ISO20022

Op vrijdag 08 maart 2002 20:03 schreef Terror het volgende:
Hi all.

Ik ben momenteel apache aan't installen maar het wil niet. Volgens de onderstaande tutorials moet je als je gaat maken, eerst configure draaien maar dan krijg ik het volgende:
[code][root@localhost Terror]# /home/Terror/apache_1.3.23/configure --prefix=/usr/local/apache --enable-module=most --enable-shared=max
configure draai je altijd vanuit de dir waar ie instaat. Dat ding gebruikt namelijk relatieve paden.

2) RPM heeft altijd gelijk. rpm -q apache om de versie op te vragen, rpm -ql apache om de bestanden te zien, en rpm -e om te verwijderen.

  • Terror
  • Registratie: Juni 1999
  • Laatst online: 21:47
Hoe bedoel je dat 1e? Als ik in /home/Terror ga zitten en dan ./blablabla doe bij wijze van, dan is dat toch het zelfde als /home/Terror/blablabla?

2: Dacht dat ik versie nummer etc bij rpm -e moest vermelden. Dat deed ik dus fout. RPM moet nu denk ik gaan lukken, maar ben nog steeds benieuwd naar puntje 1

Dell XPS M1530 (Red) | T8300 | 4 GB | 750 GB 7200 rpm | 8600m GT | Wifi N | 1440x900 LG | 9 Cells | Windows 8.1 Pro x64


  • MikeN
  • Registratie: April 2001
  • Laatst online: 22:38
Nope:

2 voorbeelden:
cd ~
eendir/apachesource/.configure
en
cd ~/eendir/apachesource
./configure
Als configure in voorbeeld 1 het bestand ~/eendir/apachesource/file wil gebruiken, moet hij het volledige pad opgeven. Wat hij niet automatisch doet (kan wel met --sourcedir ofzo). Je moet dus altijd eerst naar de sourcedir cd'en.

  • Terror
  • Registratie: Juni 1999
  • Laatst online: 21:47
Weer wat geleerd. Thnx

Dell XPS M1530 (Red) | T8300 | 4 GB | 750 GB 7200 rpm | 8600m GT | Wifi N | 1440x900 LG | 9 Cells | Windows 8.1 Pro x64