port install mod_ruby

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

port install mod_ruby

Yvon Thoraval-2
Hey all,

i've done :

 > sudo port install mod_ruby

this results in installing first pcre, second Apache2 both sucessfully.

howver, the latest, mod_ruby-1.2.4 install failed with those error  
messages :

--->  Attempting to fetch mod_ruby-1.2.4.tar.gz from http://
modruby.net//archive/
--->  Verifying checksum(s) for mod_ruby
--->  Extracting mod_ruby
--->  Configuring 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_dp
orts_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.
~%> sudo port install mod_ruby
Password:
--->  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_dp
orts_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.


what i do as a workaround ?

best,

Yvon
_______________________________________________
Darwinports mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/darwinports
Reply | Threaded
Open this post in threaded view
|

Re: port install mod_ruby

John N. Alegre-2
On Saturday 01 April 2006 05:05, Yvon Thoraval wrote:
> Hey all,
>
> i've done :
>  > sudo port install mod_ruby
>
I don't have an answer but I have another question;-)

If one uses DP to install Apache modules, is there anything that needs
to be done to enable those modules in Apache other then include the
correct words in the httpd.conf file?

On another note, how easy is it to back out DP Apache and get back to
the Apple Version later and how do you start DP Apache at boot up?  I
guess that's three questions.

Peace and Metta to the list
john
_______________________________________________
Darwinports mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/darwinports
Reply | Threaded
Open this post in threaded view
|

Re: port install mod_ruby

Daniel Harple-2
In reply to this post by Yvon Thoraval-2
(sent to the list. I hit reply but somehow it only got sent to the OP)

> > sudo port install mod_ruby
>
> this results in installing first pcre, second Apache2 both  
> sucessfully.
>
> howver, the latest, mod_ruby-1.2.4 install failed with those error  
> messages :
> <snip>
>

See:

BUG: mod_ruby fails to build (Opened: 2005-12-30): http://
bugzilla.opendarwin.org/show_bug.cgi?id=6303
UPDATE mod_ruby-1.2.5 (Opened: 2006-02-25): http://
bugzilla.opendarwin.org/show_bug.cgi?id=7473

The update has not yet been committed.

-- Daniel

_______________________________________________
Darwinports mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/darwinports
Reply | Threaded
Open this post in threaded view
|

Re: port install mod_ruby

Ryan Schmidt-8
On Apr 1, 2006, at 16:20, Daniel Harple wrote:

> (sent to the list. I hit reply but somehow it only got sent to the OP)

That is correct. Using "Reply" will reply to the original poster.  
Using "Reply All" will reply to the original poster and to the list.

_______________________________________________
Darwinports mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/darwinports
Reply | Threaded
Open this post in threaded view
|

Re: port install mod_ruby

Ryan Schmidt-8
In reply to this post by John N. Alegre-2
On Apr 1, 2006, at 16:14, John N. Alegre wrote:

> On another note, how easy is it to back out DP Apache and get back to
> the Apple Version later and how do you start DP Apache at boot up?  I
> guess that's three questions.

DarwinPorts' philosophy is to be completely separate from anything  
else. It installs everything[1] in /opt/local. Apple never installs  
anything there. DarwinPorts' stuff never overwrites Apple's stuff,  
and Apple's stuff never overwrites DarwinPorts' stuff. Your Apple  
Apache server is still there, ready to be started back up using  
System Preferences -> Sharing -> Personal Web Sharing as always.  
Uninstalling any DarwinPorts port foo is "sudo port uninstall foo".  
Uninstalling all of DarwinPorts is "sudo rm -rf /opt/local".

How to start DarwinPorts' Apache was explained in the output produced  
when you installed it. It installs a LaunchDaemon[2] which can be  
activated via the usual means. You can Google for instructions on how  
to activate and deactivate LaunchDaemons if needed.


[1] mostly; some things go in /Applications/DarwinPorts and I think  
there are a few other exceptions too.

[2] on Tiger. There aren't any LaunchDaemons on Panther, so I believe  
it makes a StartupItem there.
_______________________________________________
Darwinports mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/darwinports
Reply | Threaded
Open this post in threaded view
|

Re: port install mod_ruby

Daniel Harple-2
In reply to this post by Ryan Schmidt-8
On Apr 1, 2006, at 4:59 PM, Ryan Schmidt wrote:

> That is correct. Using "Reply" will reply to the original poster.  
> Using "Reply All" will reply to the original poster and to the list.

Most lists set Reply-To to the mailing list. Reply All will send to  
the poster and the list when all I want to do is send to the list. If  
I used reply all the user would get the message twice (like you just  
did to me ;)).

-- Daniel
_______________________________________________
Darwinports mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/darwinports
Reply | Threaded
Open this post in threaded view
|

Re: port install mod_ruby

Ryan Schmidt-8

On Apr 1, 2006, at 17:06, Daniel Harple wrote:

>> That is correct. Using "Reply" will reply to the original poster.  
>> Using "Reply All" will reply to the original poster and to the list.
>
> Most lists set Reply-To to the mailing list. Reply All will send to  
> the poster and the list when all I want to do is send to the list.  
> If I used reply all the user would get the message twice (like you  
> just did to me ;)).

Yes; that was intentional. It's called a courtesy copy. You get a  
copy of messages that are replies to things you wrote, since it's  
likely you're interested in receiving them, and possible that the  
volume of messages on the list is such that you don't read them all  
and might otherwise miss replies intended for you. If you don't want  
to receive the courtesy copy, you can change the Reply-To header on  
your outgoing mail to indicate you'd like replies to go only to the  
list.

Don't presume that "most lists" munge the Reply-To header. Out of the  
eight discussion lists I'm currently subscribed to, only one does. In  
any case, the OpenDarwin list administrators appear to subscribe to  
this philosophy:

http://www.unicom.com/pw/reply-to-harmful.html

not this one:

http://www.metasystema.net/essays/reply-to.mhtml

and I don't think that's likely to change, since the list has been  
going for some time and the list administrators probably made a  
conscious decision to go the one way and not the other.


_______________________________________________
Darwinports mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/darwinports