Автор Тема: Rujel на p5 x64, mod_WebObjects.so  (Прочитано 2508 раз)

Оффлайн HAW

  • Завсегдатай
  • *
  • Сообщений: 1 247
    • Email
Rujel на p5 x64, mod_WebObjects.so
« : 14.10.2009 00:06:01 »
Выдавал :
скачал отсюда

gdbm -DDBM_SUFFIX=".db" -DSHARED_MODULE -I/usr/include/apache -O2 -I/usr/include/apache -I../Adaptor -g -DSINGLE_THREADED_ADAPTOR -DLINUX -DFORKING_WEBSERVER -DAPACHE    -c mod_WebObjects.c                                               
<command-line>: warning: "LINUX" redefined                                                                                                                                                                                                   
<command-line>: warning: this is the location of the previous definition                                                                                                                                                                     
mod_WebObjects.c:73:17: error: apr.h: Нет такого файла или каталога                                                                                                                                                                         
mod_WebObjects.c:75:25: error: apr_strings.h: Нет такого файла или каталога                                                                                                                                                                 
mod_WebObjects.c:76:24: error: apr_tables.h: Нет такого файла или каталога                                                                                                                                                                   
mod_WebObjects.c:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WebObjects_module

прописал пути руками, стало:

gdbm -DDBM_SUFFIX=".db" -DSHARED_MODULE -I/usr/include/apache -O2 -I/usr/include/apache -I../Adaptor -g -DSINGLE_THREADED_ADAPTOR -DLINUX -DFORKING_WEBSERVER -DAPACHE    -c mod_WebObjects.c                                               
<command-line>: warning: "LINUX" redefined                                                                                                                                                                                                   
<command-line>: warning: this is the location of the previous definition                                                                                                                                                                     
mod_WebObjects.c:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WebObjects_module’                                                                                                                                     
mod_WebObjects.c: In function ‘setDocroot’:                                                                                                                                                                                                 
mod_WebObjects.c:195: error: ‘WebObjects_module’ undeclared (first use in this function)                                                                                                                                                     
mod_WebObjects.c:195: error: (Each undeclared identifier is reported only once                                                                                                                                                               
mod_WebObjects.c:195: error: for each function it appears in.)                                                                                                                                                                               
mod_WebObjects.c: In function ‘setScriptAlias’:                                                                                                                                                                                             
mod_WebObjects.c:210: error: ‘WebObjects_module’ undeclared (first use in this function)                                                                                                                                                     
mod_WebObjects.c: In function ‘setOption’:                                                                                                                                                                                                   
mod_WebObjects.c:222: error: ‘WebObjects_module’ undeclared (first use in this function)                                                                                                                                                     
mod_WebObjects.c: In function ‘setOption2’:                                                                                                                                                                                                 
mod_WebObjects.c:236: error: ‘WebObjects_module’ undeclared (first use in this function)                                                                                                                                                     
mod_WebObjects.c: In function ‘setOption3’:                                                                                                                                                                                                 
mod_WebObjects.c:253: error: ‘WebObjects_module’ undeclared (first use in this function)                                                                                                                                                     
mod_WebObjects.c: In function ‘copyHeaders’:                                                                                                                                                                                                 
mod_WebObjects.c:286: warning: initialization from incompatible pointer type                                                                                                                                                                 
mod_WebObjects.c:289: warning: initialization from incompatible pointer type
mod_WebObjects.c:363: error: too many arguments to function ‘ap_get_remote_host’
mod_WebObjects.c:371: error: invalid type argument of ‘->’ (have ‘struct sockaddr_in’)
mod_WebObjects.c:375: error: ‘request_rec’ has no member named ‘user’
mod_WebObjects.c:376: error: ‘request_rec’ has no member named ‘user’
mod_WebObjects.c:379: error: ‘request_rec’ has no member named ‘ap_auth_type’
mod_WebObjects.c:380: error: ‘request_rec’ has no member named ‘ap_auth_type’
mod_WebObjects.c: In function ‘gethdr’:
mod_WebObjects.c:410: warning: passing argument 1 of ‘apr_pstrdup’ from incompatible pointer type
/usr/include/apr-1/apr_strings.h:95: note: expected ‘struct apr_pool_t *’ but argument is of type ‘struct ap_pool *’
mod_WebObjects.c:412: warning: passing argument 1 of ‘apr_table_add’ from incompatible pointer type
/usr/include/apr-1/apr_tables.h:323: note: expected ‘struct apr_table_t *’ but argument is of type ‘struct table *’
mod_WebObjects.c: At top level:
mod_WebObjects.c:512: warning: implicit declaration of function ‘AP_INIT_TAKE1’


Оффлайн yaleks

  • Мастер
  • ***
  • Сообщений: 6 234
Re: Rujel на p5 x64, mod_WebObjects.so
« Ответ #1 : 14.10.2009 09:12:08 »
там apache-2.2, вы для него собирали?

Оффлайн HAW

  • Завсегдатай
  • *
  • Сообщений: 1 247
    • Email
Re: Rujel на p5 x64, mod_WebObjects.so
« Ответ #2 : 14.10.2009 18:02:16 »
ну вроде как...
а в этих собиралках, как свинья в апельсинах

Оффлайн yaleks

  • Мастер
  • ***
  • Сообщений: 6 234
Re: Rujel на p5 x64, mod_WebObjects.so
« Ответ #3 : 20.10.2009 12:36:04 »
В make.config выставить ADAPTOR_OS = LINUX для начала
потом make Apache2.2

Оффлайн mk

  • Завсегдатай
  • *
  • Сообщений: 720
  • М.Э.Кушнир
    • M.Kushnir Sites
Re: Rujel на p5 x64, mod_WebObjects.so
« Ответ #4 : 17.03.2010 22:12:57 »
Если нет острого желания компилировать самостоятельно, можно попробовать готовые. Например, для Альт Линукса вполне схватился готовый адаптер для Centos. Мы проверяли только 32-битный.
http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/centos/5/
cogito, ergo sum