Opened 18 years ago

Closed 18 years ago

#8939 closed defect (fixed)

Failure to build mod_mono on MacOSX 10.4

Reported by: leon.duggan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…
Port:

Description

G5:~ dev$ sudo port install mod_mono ---> Building mod_mono 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_mono/work/mod_mono-1.1.10" && make all" returned error 2 Command output: Making all in src if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -I/opt/local/apache2/include -I/opt/local/include/apr-1 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -Wall -DDFLT_MONO_CONFIG_DIR=\"/opt/local/apache2/conf/mod-mono-applications\" -g -O2 -I/opt/local/apache2/include -I/opt/local/include/apr-1 -g -O2 -I/opt/local/include -MT mod_mono_la-mod_mono.lo -MD -MP -MF ".deps/mod_mono_la-mod_mono.Tpo" -c -o mod_mono_la-mod_mono.lo test -f 'mod_mono.c' || echo './'mod_mono.c; \ then mv -f ".deps/mod_mono_la-mod_mono.Tpo" ".deps/mod_mono_la-mod_mono.Plo"; else rm -f ".deps/mod_mono_la-mod_mono.Tpo"; exit 1; fi

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -I/opt/local/apache2/include -I/opt/local/include/apr-1 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -Wall -DDFLT_MONO_CONFIG_DIR=\"/opt/local/apache2/conf/mod-mono-applications\" -g -O2 -I/opt/local/apache2/include -I/opt/local/include/apr-1 -g -O2 -I/opt/local/include -MT mod_mono_la-mod_mono.lo -MD -MP -MF .deps/mod_mono_la-mod_mono.Tpo -c mod_mono.c -fno-common -DPIC -o .libs/mod_mono_la-mod_mono.o

mod_mono.c: In function 'connection_get_remote_port': mod_mono.c:334: warning: implicit declaration of function 'apr_sockaddr_port_get' mod_mono.c: In function 'try_connect': mod_mono.c:829: warning: implicit declaration of function 'apr_connect' mod_mono.c: In function 'setup_socket': mod_mono.c:1167: warning: passing argument 4 of 'apr_socket_create' makes integer from pointer without a cast mod_mono.c:1167: error: too few arguments to function 'apr_socket_create' make[1]: * [mod_mono_la-mod_mono.lo] Error 1 make: * [all-recursive] Error 1

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

G5:~ dev$ port installed The following ports are currently installed:

apache2 @2.2.2_1 (active) apr @1.2.7_0 (active) apr-util @1.2.7_0 (active) boehmgc @6.7_0+darwin_8 (active) db4 @4.3.29_0+darwin_8 (active) expat @2.0.0_1 (active) gettext @0.14.5_1 (active) glib2 @2.10.2_0 (active) icu @3.4_0+darwin_8 (active) libiconv @1.10_1+darwin_8 (active) mono @1.1.15_0+darwin_8 (active) openssl @0.9.8a_0+darwin_8 (active) pcre @6.6_0 (active) pkgconfig @0.20_0 (active) xsp @1.1.10_0 (active) zlib @1.2.3_0 (active)

Change History (3)

comment:1 Changed 18 years ago by toby@…

Component: wwwdports

comment:2 Changed 18 years ago by markd@…

Cc: markd@… added

mod_mono is updated to 1.1.16.1 (mono ansd xsp also) and the port installs now. But I cannot get it running. It may just be inexperience with mono. Someone who knows how to get it working needs to test it and suggest changes to the ui_msgs so they are accurate.

comment:3 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

The build is fixed. If there is another problem a new bug should be opened.

Note: See TracTickets for help on using tickets.