Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#1728 closed defect (wontfix)

Port Build Error: Mono does not build

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

Description

When trying to build mono, I get a severe error:

Zaphod:~ weissph$ sudo port install mono ---> Fetching mono ---> Verifying checksum for mono ---> Extracting mono ---> Configuring mono ---> Building mono with target all Error: Target com.apple.build returned: shell command "cd "/opt/darwinports/dports/devel/mono/ work/mono-0.31" && make all" returned error 2 Command output: /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/ local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/ lib/glib-2.0/include -DMONO_BINDIR=\""/opt/local/bin"\" -I../.. -I/opt/local/include -no-cpp- precomp -D_THREAD_SAFE -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer- arith -Wno-cast-qual -Wcast-align -Wwrite-strings -c -o wait.lo test -f 'wait.c' || echo './'wait.c rm -f .libs/wait.lo gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/ opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -DMONO_BINDIR=\"/opt/local/bin\" -I../.. -I/opt/local/include -no-cpp-precomp -D_THREAD_SAFE -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -c wait.c -MT wait.lo -MD -MP -MF .deps/wait.TPlo -fno-common -DPIC -o .libs/wait.lo In file included from ../../mono/os/gc_wrapper.h:6,

from wait.c:15:

/opt/local/include/gc/gc.h:125: warning: function declaration isn't a prototype gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/ opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -DMONO_BINDIR=\"/opt/local/bin\" -I../.. -I/opt/local/include -no-cpp-precomp -D_THREAD_SAFE -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -c wait.c -MT wait.lo -MD -MP -MF .deps/wait.TPlo -o wait.o >/dev/null 2>&1 mv -f .libs/wait.lo wait.lo /bin/sh ../../libtool --mode=link gcc -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing- prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -L/opt/local/lib -pthread -o libwapi.la atomic.lo context.lo critical-sections.lo daemon.lo daemon-messages.lo error.lo events.lo handles.lo io.lo misc.lo mutexes.lo mono-mutex.lo processes.lo semaphores.lo shared.lo sockets.lo system.lo threads.lo timefuncs.lo timed-thread.lo wait.lo -lpthread -lm rm -fr .libs/libwapi.la .libs/libwapi.* .libs/libwapi.* ar cru .libs/libwapi.al atomic.lo context.lo critical-sections.lo daemon.lo daemon-messages.lo error.lo events.lo handles.lo io.lo misc.lo mutexes.lo mono-mutex.lo processes.lo semaphores.lo shared.lo sockets.lo system.lo threads.lo timefuncs.lo timed-thread.lo wait.lo ranlib .libs/libwapi.al creating libwapi.la (cd .libs && rm -f libwapi.la && ln -s ../libwapi.la libwapi.la) Making all in monoburg bison ./monoburg.y -o parser.c gcc -o monoburg ./monoburg.c parser.c -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ include -I. -L/opt/local/lib -pthread -L/opt/local/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv gcc: unrecognized option `-pthread' ld: warning can't open dynamic library: /opt/local/lib/libintl.1.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: warning multiple definitions of symbol _locale_charset /usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used symbol _locale_charset used from dynamic library /usr/lib/libiconv.dylib(localcharset.o) not from earlier dynamic library /opt/local/lib/libintl.3.dylib(localcharset.o) ./monoburg ./sample.brg > sample.c dyld: ./monoburg can't open library: /opt/local/lib/libintl.1.dylib (No such file or directory, errno = 2) make[3]: * [sample.c] Error 133 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Change History (1)

comment:1 Changed 20 years ago by mww@…

Resolution: wontfix
Status: newclosed

strange incompatibility of ?

Note: See TracTickets for help on using tickets.