Opened 14 years ago

Last modified 13 years ago

#24821 closed defect

installation of freetds +mssql +odbc +universal fails — at Initial Version

Reported by: stephanie.wissel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: freetds

Description

I'm copying the portion of the output where it seems to fail, when compiling on Snow Leopard (Mac OS X 10.6.3) with MacPorts version 1.8.2. (I'll attach the full output.)

commad line: sudo port -d install freetds +mssql +odbc +universal

Output snippets libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/opt/local/include -I/opt/local/include -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/opt/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -D_THREAD_SAFE -O2 -arch x86_64 -arch i386 -Wdeclaration-after-statement -c native.c -fno-common -DPIC -o .libs/native.o connectparams.c:90: error: static declaration of 'SQLGetPrivateProfileString' follows non-static declaration /opt/local/include/odbcinst.h:468: error: previous declaration of 'SQLGetPrivateProfileString' was here connectparams.c:90: error: static declaration of 'SQLGetPrivateProfileString' follows non-static declaration /opt/local/include/odbcinst.h:468: error: previous declaration of 'SQLGetPrivateProfileString' was here lipo: can't figure out the architecture type of: /var/tmpccIKrMXA.out make[3]: * [connectparams.lo] Error 1 make[3]: * Waiting for unfinished jobs....

libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/opt/local/include -I/opt/local/include -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/opt/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -D_THREAD_SAFE -O2 -arch x86_64 -arch i386 -Wdeclaration-after-statement -c odbc_checks.c -o odbc_checks.o >/dev/null 2>&1 libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/opt/local/include -I/opt/local/include -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8 -I/opt/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -D_THREAD_SAFE -O2 -arch x86_64 -arch i386 -Wdeclaration-after-statement -c error.c -o error.o >/dev/null 2>&1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_freetds/work/freetds-0.82" && /usr/bin/make -j8 all " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_freetds/work/freetds-0.82" && /usr/bin/make -j8 all " returned error 2

while executing

"command_exec build"

(procedure "portbuild::build_main" line 9) invoked from within

"$procedure $targetname" Warning: the following items did not execute (for freetds): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.

Change History (1)

Changed 14 years ago by stephanie.wissel@…

Attachment: macport_ticket24821 added

output from failed install of freetds with universal variant

Note: See TracTickets for help on using tickets.