Opened 19 years ago

Closed 18 years ago

#6303 closed defect (fixed)

BUG: mod_ruby fails to build

Reported by: ross@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

~ > port version Version: 1.200 ~ > ruby -v ruby 1.8.2 (2004-12-25) [powerpc-darwin8.3.0] ~ > httpd -v Server version: Apache/2.2.0 Server built: Dec 25 2005 23:40:57 ~ > sudo port install mod_ruby ---> Building mod_ruby with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_mod_ruby/work/mod_ruby-1.2.4" && make all" returned error 2 Command output: mod_ruby.c:1300: error: 'dconf' undeclared (first use in this function) mod_ruby.c:1300: error: dereferencing pointer to incomplete type mod_ruby.c:1300: error: parse error before ')' token mod_ruby.c:1300: error: dereferencing pointer to incomplete type mod_ruby.c: In function 'ruby_log_handler': mod_ruby.c:1309: error: 'dconf' undeclared (first use in this function) mod_ruby.c:1309: error: dereferencing pointer to incomplete type mod_ruby.c:1309: error: parse error before ')' token mod_ruby.c:1309: error: dereferencing pointer to incomplete type mod_ruby.c: At top level: mod_ruby.c:1336: error: 'ruby_cleanup_handler' declared as function returning a function mod_ruby.c:1336: error: 'ruby_cleanup_handler' redeclared as different kind of symbol mod_ruby.h:155: error: previous declaration of 'ruby_cleanup_handler' was here mod_ruby.c: In function 'ruby_cleanup_handler': mod_ruby.c:1338: error: 'dconf' undeclared (first use in this function) mod_ruby.c:1338: error: dereferencing pointer to incomplete type mod_ruby.c:1338: error: parse error before ')' token mod_ruby.c:1338: error: dereferencing pointer to incomplete type mod_ruby.c:1342: error: 'APR_SUCCESS' undeclared (first use in this function) mod_ruby.c:1343: warning: control reaches end of non-void function mod_ruby.c: In function 'ruby_post_read_request_handler': mod_ruby.c:1347: error: 'dconf' undeclared (first use in this function) mod_ruby.c:1347: error: dereferencing pointer to incomplete type mod_ruby.c:1347: error: parse error before ')' token mod_ruby.c:1347: error: dereferencing pointer to incomplete type mod_ruby.c:1350: error: dereferencing pointer to incomplete type mod_ruby.c:1351: error: 'ap_null_cleanup' undeclared (first use in this function) mod_ruby.c:1356: warning: implicit declaration of function 'ap_table_set' mod_ruby.c:1356: error: dereferencing pointer to incomplete type make: * [mod_ruby.o] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 19 years ago by blb@…

Owner: changed from darwinports-bugs@… to mww@…

Assign to maintainer.

comment:2 Changed 19 years ago by mww@…

Summary: mod_ruby fails to buildBUG: mod_ruby fails to build

I assume that version 1.2.4 of mod_ruby is incompatible with apache 2.2; we probably need a port for apache 2.0 or wait for a new release of mod_ruby

comment:3 Changed 19 years ago by jberry@…

It looks like there are patches to fix the apache 2.2 issue checked into the mod_ruby site. No 1.2.5 has been issued yet...

comment:4 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Version 1.2.5 has been committed. It may still have build problems but bug 7473 is open for that.

Note: See TracTickets for help on using tickets.