Toon posts:

[Debian] mod_perl installeren

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik ben bezig met het instaleren van mod_perl en apache
Ik krijg tijdens perl Makefile.PL APACHE_SRC=../apache_1.3.23/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

een error!
--- begin
cd ..; cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `./apaci` -I. -I/usr/lib/perl/5.6.1/CORE -o helpers/dummy helpers/dummy.c -lm -lcrypt -rdynamic -L/usr/local/lib /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6.1/CORE -lperl -ldl -lm -lc -lcrypt
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
+ configured for Linux platform
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
o perl_module uses ConfigStart/End
+ mod_perl build type: OBJ
+ setting up mod_perl build environment
+ adjusting Apache build environment
+ enabling Perl support for SSI (mod_include)
+ 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!
----- Einde
Wie kan me helpen zo dat apache toch perl kan onderstuinen :)

  • wouzer
  • Registratie: Maart 2000
  • Niet online
wel eens van apt-get gehoord?

apt-get install libapache-mod-perl

Verwijderd

Topicstarter
Ook wel eens gehoort van zelf compillen om alles na wens te krijgen ? :)

Verwijderd

Heb je gcc wel geïnstalleerd?

typ eens 'dpkg --list | grep gcc' ?

Als daar niets uitkomt, dan moet een 'apt-get install gcc' het truukje doen.

  • moto-moi
  • Registratie: Juli 2001
  • Laatst online: 09-06-2011

moto-moi

Ja, ik haat jou ook :w

Op zaterdag 16 maart 2002 13:43 schreef StephanPHP het volgende:
Ook wel eens gehoort van zelf compillen om alles na wens te krijgen ? :)
Ja, apt-get source <vul hier je file in>
Dan met debuild, nadat je je veranderingen hebt gemaakt, weer een mooie deb ervan maken.

/edit trouwens, je probleem is volgens mij, dat je libperl o.i.d. niet hebt geinstalleerd, of libperl-dev ofzoiets..

God, root, what is difference? | Talga Vassternich | IBM zuigt


Verwijderd

Topicstarter
-----------------------------------
ii gcc 2.95.4-13 The GNU C compiler.
ii gcc-2.95 2.95.4-4 The GNU C compiler.
ii gcc-3.0 3.0.4-3 The GNU C compiler.
ii gcc-3.0-base 3.0.4-3 The GNU Compiler Collection (base package).
ii libgcc1 3.0.4-3 GCC support library.
-----------------------------------

  • odysseus
  • Registratie: Augustus 2000
  • Laatst online: 16:17

odysseus

Debian GNU/Linux Sid

Als je eerst 'apt-get build-dep libapache-mod-perl' draait, dan heb je in ieder geval alle programma's en libs die je nodig hebt. Dat commando haalt *niet* mod_perl op, die kun je dan dus nog gewoon zelf compileren.

Leven is het meervoud van lef | In order to make an apple pie from scratch, you must first create the universe.


Verwijderd

Topicstarter
libperl-dev was de probleem ;)
Ik wil later wel eens verdiepen in dat .deb files maken.
Maar heb daar nu geen tijd voor :(
Pagina: 1