Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
"Militarizarea" Antifraudei

Washington DC in 1940 - secvente ...

Miniatur Wunderland - Monaco

Familia Simpson
 plata impozit profit actiuni trad...

Extras de cont cu semnatura elect...

Ce parere aveti despre ascasa.de ...

Sfat achizitie bmw e92 320d
 switch Gigabit POE pentru toate e...

Triunghi

Relatie, vorbit prin mesaje

Radon!
 S-a ocupat Dumnezeu de formarea o...

Windows 10 Pro - Automatic Repair...

Purici pisica apartament

Romania se afla in top 5 cele mai...
 

Compilare Apache

- - - - -
  • Please log in to reply
2 replies to this topic

#1
Sakura

Sakura

    Active Member

  • Grup: Members
  • Posts: 1,007
  • Înscris: 14.04.2004
Incerc sa instalez Apache 2.2.0 pe Slackware 10.2.
Dau : ./configure, make si make install, dar cand vreau sa modific fisierul de configuratie, constat ca acesta nu exista. Iata ce output imi da make install (la sfarsit):

server/.libs/libmain.a(main.o)(.text+0xbec):/home/httpd-2.2.0/server/main.c:664:																			  undefined reference to `ap_prelinked_modules'
server/.libs/libmain.a(main.o)(.text+0xf84): In function `suck_in_APR':
/home/httpd-2.2.0/server/main.c:735: undefined reference to `ap_ugly_hack'
server/.libs/libmain.a(core.o)(.text+0x2b97): In function `start_ifmod':
/home/httpd-2.2.0/server/core.c:2071: undefined reference to `ap_prelinked_modul																			 e_symbols'
server/.libs/libmain.a(core.o)(.text+0x2b9e):/home/httpd-2.2.0/server/core.c:206																			 9: undefined reference to `ap_prelinked_module_symbols'
server/.libs/libmain.a(config.o)(.text+0xf13): In function `rebuild_conf_hash':
/home/httpd-2.2.0/server/config.c:437: undefined reference to `ap_prelinked_modu																			 les'
server/.libs/libmain.a(config.o)(.text+0xf1a):/home/httpd-2.2.0/server/config.c:																			 437: undefined reference to `ap_prelinked_modules'
server/.libs/libmain.a(config.o)(.text+0x127c): In function `ap_setup_prelinked_																			 modules':
/home/httpd-2.2.0/server/config.c:657: undefined reference to `ap_preloaded_modu																			 les'
server/.libs/libmain.a(config.o)(.text+0x1290):/home/httpd-2.2.0/server/config.c																			 :657: undefined reference to `ap_preloaded_modules'
server/.libs/libmain.a(config.o)(.text+0x12e1):/home/httpd-2.2.0/server/config.c																			 :670: undefined reference to `ap_preloaded_modules'
server/.libs/libmain.a(config.o)(.text+0x12e8):/home/httpd-2.2.0/server/config.c																			 :670: undefined reference to `ap_preloaded_modules'
server/.libs/libmain.a(config.o)(.text+0x1307):/home/httpd-2.2.0/server/config.c																			 :678: undefined reference to `ap_prelinked_modules'
server/.libs/libmain.a(config.o)(.text+0x130e):/home/httpd-2.2.0/server/config.c																			 :678: undefined reference to `ap_prelinked_modules'
modules/http/.libs/libmod_http.a(http_filters.o)(.text+0x18a): In function `ap_h																			 ttp_filter':
/home/httpd-2.2.0/modules/http/http_filters.c:375: undefined reference to `ap_bu																			 cket_error_create'
modules/http/.libs/libmod_http.a(http_filters.o)(.text+0x354):/home/httpd-2.2.0/																			 modules/http/http_filters.c:305: undefined reference to `ap_bucket_error_create'
modules/http/.libs/libmod_http.a(http_filters.o)(.text+0x5d0):/home/httpd-2.2.0/																			 modules/http/http_filters.c:238: undefined reference to `ap_bucket_error_create'
modules/http/.libs/libmod_http.a(http_filters.o)(.text+0x87e):/home/httpd-2.2.0/																			 modules/http/http_filters.c:156: undefined reference to `ap_bucket_error_create'
modules/http/.libs/libmod_http.a(http_filters.o)(.text+0x918):/home/httpd-2.2.0/																			 modules/http/http_filters.c:137: undefined reference to `ap_bucket_error_create'
modules/http/.libs/libmod_http.a(http_filters.o)(.text+0x1323): In function `ap_																			 http_header_filter':
/home/httpd-2.2.0/modules/http/http_filters.c:898: undefined reference to `ap_bu																			 cket_type_error'
modules/http/.libs/libmod_http.a(byterange_filter.o)(.text+0x6aa): In function `																			 ap_byterange_filter':
/home/httpd-2.2.0/modules/http/byterange_filter.c:280: undefined reference to `a																			 p_bucket_error_create'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/home/httpd-2.2.0'
make: *** [install-recursive] Error 1

Stie cineva ce se intampla?

#2
framepointer

framepointer

    Junior Member

  • Grup: Members
  • Posts: 31
  • Înscris: 20.01.2006
Toate functiile care incep cu ap_ sunt defapt functii din API`ul apache.
Toolkitul nou, ptr apache 2.X se numeshte APR, apache programming resource. Sunt nishte functii care faciliteaza dezvoltarea de module pentru Apache. Oricum, ce am zis pan acum e offtopic, asha in general.

Pt tine:
Daca ai downloadat pachetul corect, inseamna ca nu ai configurat bine inainte de compilare.

Incearca un make help sau ./configure --help si vezi parametrii.

Alta mica prostioara ce se mai intampla e sa ai deja un apache instalat, si sa ai undeva prin /usr/include versiuni anterioare pentru headerele folosite. (vezi /usr/include/apr sau /usr/include/ap etc...).

Daca nu vrei sa mutzi folderele respective intrun loc temporar pana cand compilezi apacheul nou, incearca ./configure --help, vezi daca exista optiune sa specifici calea pentru dependinte de compilare (ceva de genu ./configure --path-to-ap=./myapache/include/ap).

Hope this helps :worthy:

Edited by framepointer, 22 January 2006 - 13:51.


#3
Sakura

Sakura

    Active Member

  • Grup: Members
  • Posts: 1,007
  • Înscris: 14.04.2004
Multumesc pentru raspuns. E util, dar a venit prea tarziu.
Cred ca am facut una din prostioarele enuntate de tine si anume, cred ca aveam un alt apache instalat. Ce-am facut, ce n-am facut (am resinstalat si sistemul) am reusit pana la urma sa instalez apache, mysql, iar acum tocmai am terminat de compilat si php. Ureaza-mi noroc in continuare.

Anunturi

Bun venit pe Forumul Softpedia!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate