Compiling postgresql82 on Leopard
Dylan Markow
dmarkow at gmail.com
Fri Oct 26 07:12:41 PDT 2007
Most of my packages compiled okay, but the postgresql82 package won't compile
on leopard (I also tried the 83 package, same deal):
gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-L../../src/port -L/opt/local/lib -L/opt/local/lib access/SUBSYS.o
bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o
../../src/timezone/SUBSYS.o ../../src/port/libpgport_srv.a -lssl -lcrypto
-lm -o postgres
Undefined symbols:
"_PlannerInitPlan", referenced from:
_PlannerInitPlan$non_lazy_ptr in SUBSYS.o
"_strtable", referenced from:
_strtable$non_lazy_ptr in SUBSYS.o
"_base_yytext", referenced from:
_base_yytext$non_lazy_ptr in SUBSYS.o
"_PrivateRefCount", referenced from:
_PrivateRefCount$non_lazy_ptr in SUBSYS.o
"_NDirectFileWrite", referenced from:
_NDirectFileWrite$non_lazy_ptr in SUBSYS.o
"_LocalBufferHitCount", referenced from:
_LocalBufferHitCount$non_lazy_ptr in SUBSYS.o
"_shmInvalBuffer", referenced from:
_shmInvalBuffer$non_lazy_ptr in SUBSYS.o
"_locale_numeric", referenced from:
_ConfigureNamesString in SUBSYS.o
_locale_numeric$non_lazy_ptr in SUBSYS.o
"_base_yynerrs", referenced from:
_base_yynerrs$non_lazy_ptr in SUBSYS.o
"_ReadLocalBufferCount", referenced from:
_ReadLocalBufferCount$non_lazy_ptr in SUBSYS.o
"_NDirectFileRead", referenced from:
_NDirectFileRead$non_lazy_ptr in SUBSYS.o
"_PlannerParamList", referenced from:
_PlannerParamList$non_lazy_ptr in SUBSYS.o
"_vacuum_freeze_min_age", referenced from:
_vacuum_freeze_min_age$non_lazy_ptr in SUBSYS.o
_vacuum_freeze_min_age$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_max_locks_per_xact", referenced from:
_max_locks_per_xact$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_parsetree", referenced from:
_parsetree$non_lazy_ptr in SUBSYS.o
"_log_hostname", referenced from:
_log_hostname$non_lazy_ptr in SUBSYS.o
_ConfigureNamesBool in SUBSYS.o
"_external_pid_file", referenced from:
_external_pid_file$non_lazy_ptr in SUBSYS.o
_ConfigureNamesString in SUBSYS.o
"_Geqo_effort", referenced from:
_Geqo_effort$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_join_collapse_limit", referenced from:
_join_collapse_limit$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_MyCancelKey", referenced from:
_MyCancelKey$non_lazy_ptr in SUBSYS.o
_MyCancelKey$non_lazy_ptr in SUBSYS.o
"_BufferFlushCount", referenced from:
_BufferFlushCount$non_lazy_ptr in SUBSYS.o
"_AuthBlockSig", referenced from:
_AuthBlockSig$non_lazy_ptr in SUBSYS.o
_AuthBlockSig$non_lazy_ptr in SUBSYS.o
"_role_string", referenced from:
_role_string$non_lazy_ptr in SUBSYS.o
_ConfigureNamesString in SUBSYS.o
"_autovacuum_vac_scale", referenced from:
_autovacuum_vac_scale$non_lazy_ptr in SUBSYS.o
_ConfigureNamesReal in SUBSYS.o
"_pg_krb_server_keyfile", referenced from:
_ConfigureNamesString in SUBSYS.o
"_locale_messages", referenced from:
_ConfigureNamesString in SUBSYS.o
"_BufferHitCount", referenced from:
_BufferHitCount$non_lazy_ptr in SUBSYS.o
"_XactIsoLevel", referenced from:
_XactIsoLevel$non_lazy_ptr in SUBSYS.o
_XactIsoLevel$non_lazy_ptr in SUBSYS.o
_XactIsoLevel$non_lazy_ptr in SUBSYS.o
_XactIsoLevel$non_lazy_ptr in SUBSYS.o
"_autovacuum_vac_cost_delay", referenced from:
_autovacuum_vac_cost_delay$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_MyProcPort", referenced from:
_MyProcPort$non_lazy_ptr in SUBSYS.o
_MyProcPort$non_lazy_ptr in SUBSYS.o
_MyProcPort$non_lazy_ptr in SUBSYS.o
_MyProcPort$non_lazy_ptr in SUBSYS.o
"_autovacuum_naptime", referenced from:
_autovacuum_naptime$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_my_exec_path", referenced from:
_my_exec_path$non_lazy_ptr in SUBSYS.o
_my_exec_path$non_lazy_ptr in SUBSYS.o
_my_exec_path$non_lazy_ptr in SUBSYS.o
_my_exec_path$non_lazy_ptr in SUBSYS.o
_my_exec_path$non_lazy_ptr in SUBSYS.o
"_PgStartTime", referenced from:
_PgStartTime$non_lazy_ptr in SUBSYS.o
_PgStartTime$non_lazy_ptr in SUBSYS.o
_PgStartTime$non_lazy_ptr in SUBSYS.o
"_OutputFileName", referenced from:
_OutputFileName$non_lazy_ptr in SUBSYS.o
_OutputFileName$non_lazy_ptr in SUBSYS.o
_OutputFileName$non_lazy_ptr in SUBSYS.o
"_IdentFileName", referenced from:
_IdentFileName$non_lazy_ptr in SUBSYS.o
_ConfigureNamesString in SUBSYS.o
_IdentFileName$non_lazy_ptr in SUBSYS.o
"_tcp_keepalives_interval", referenced from:
_tcp_keepalives_interval$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_session_authorization_string", referenced from:
_session_authorization_string$non_lazy_ptr in SUBSYS.o
_ConfigureNamesString in SUBSYS.o
"_MaxFSMRelations", referenced from:
_MaxFSMRelations$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_autovacuum_vac_thresh", referenced from:
_autovacuum_vac_thresh$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_ReservedBackends", referenced from:
_ReservedBackends$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
_ReservedBackends$non_lazy_ptr in SUBSYS.o
"_Geqo_pool_size", referenced from:
_Geqo_pool_size$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_BlockSig", referenced from:
_BlockSig$non_lazy_ptr in SUBSYS.o
_BlockSig$non_lazy_ptr in SUBSYS.o
_BlockSig$non_lazy_ptr in SUBSYS.o
"_from_collapse_limit", referenced from:
_from_collapse_limit$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_tcp_keepalives_count", referenced from:
_tcp_keepalives_count$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_newNodeMacroHolder", referenced from:
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
_newNodeMacroHolder$non_lazy_ptr in SUBSYS.o
"_autovacuum_vac_cost_limit", referenced from:
_autovacuum_vac_cost_limit$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_progname", referenced from:
_progname$non_lazy_ptr in SUBSYS.o
_progname$non_lazy_ptr in SUBSYS.o
"_hashtable", referenced from:
_hashtable$non_lazy_ptr in SUBSYS.o
"_autovacuum_freeze_max_age", referenced from:
_autovacuum_freeze_max_age$non_lazy_ptr in SUBSYS.o
_autovacuum_freeze_max_age$non_lazy_ptr in SUBSYS.o
_autovacuum_freeze_max_age$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_BufferBlocks", referenced from:
_BufferBlocks$non_lazy_ptr in SUBSYS.o
_BufferBlocks$non_lazy_ptr in SUBSYS.o
_BufferBlocks$non_lazy_ptr in SUBSYS.o
_BufferBlocks$non_lazy_ptr in SUBSYS.o
"_GUC_yyleng", referenced from:
_GUC_yyleng$non_lazy_ptr in SUBSYS.o
"_pg_krb_caseins_users", referenced from:
_ConfigureNamesBool in SUBSYS.o
"_GUC_yytext", referenced from:
_GUC_yytext$non_lazy_ptr in SUBSYS.o
"_autovacuum_anl_scale", referenced from:
_autovacuum_anl_scale$non_lazy_ptr in SUBSYS.o
_ConfigureNamesReal in SUBSYS.o
"_ListenAddresses", referenced from:
_ListenAddresses$non_lazy_ptr in SUBSYS.o
_ConfigureNamesString in SUBSYS.o
"_bonjour_name", referenced from:
_bonjour_name$non_lazy_ptr in SUBSYS.o
_ConfigureNamesString in SUBSYS.o
"_HbaFileName", referenced from:
_HbaFileName$non_lazy_ptr in SUBSYS.o
_ConfigureNamesString in SUBSYS.o
_HbaFileName$non_lazy_ptr in SUBSYS.o
"_MaxFSMPages", referenced from:
_MaxFSMPages$non_lazy_ptr in SUBSYS.o
_MaxFSMPages$non_lazy_ptr in SUBSYS.o
_MaxFSMPages$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_PostPortNumber", referenced from:
_PostPortNumber$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_ShmemBase", referenced from:
_ShmemBase$non_lazy_ptr in SUBSYS.o
_ShmemBase$non_lazy_ptr in SUBSYS.o
"_XactReadOnly", referenced from:
_XactReadOnly$non_lazy_ptr in SUBSYS.o
_XactReadOnly$non_lazy_ptr in SUBSYS.o
_XactReadOnly$non_lazy_ptr in SUBSYS.o
_XactReadOnly$non_lazy_ptr in SUBSYS.o
_ConfigureNamesBool in SUBSYS.o
_XactReadOnly$non_lazy_ptr in SUBSYS.o
"_locale_monetary", referenced from:
_ConfigureNamesString in SUBSYS.o
_locale_monetary$non_lazy_ptr in SUBSYS.o
"_autovacuum_anl_thresh", referenced from:
_autovacuum_anl_thresh$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_Unix_socket_permissions", referenced from:
_Unix_socket_permissions$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_PlannerQueryLevel", referenced from:
_PlannerQueryLevel$non_lazy_ptr in SUBSYS.o
"_UnBlockSig", referenced from:
_UnBlockSig$non_lazy_ptr in SUBSYS.o
_UnBlockSig$non_lazy_ptr in SUBSYS.o
_UnBlockSig$non_lazy_ptr in SUBSYS.o
_UnBlockSig$non_lazy_ptr in SUBSYS.o
"_UnixSocketDir", referenced from:
_UnixSocketDir$non_lazy_ptr in SUBSYS.o
_ConfigureNamesString in SUBSYS.o
"_attrtypes", referenced from:
_attrtypes$non_lazy_ptr in SUBSYS.o
"_ShmemLock", referenced from:
_ShmemLock$non_lazy_ptr in SUBSYS.o
"_add_missing_from", referenced from:
_add_missing_from$non_lazy_ptr in SUBSYS.o
_ConfigureNamesBool in SUBSYS.o
"_Geqo_generations", referenced from:
_Geqo_generations$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_BufferDescriptors", referenced from:
_BufferDescriptors$non_lazy_ptr in SUBSYS.o
"_pkglib_path", referenced from:
_pkglib_path$non_lazy_ptr in SUBSYS.o
_pkglib_path$non_lazy_ptr in SUBSYS.o
_pkglib_path$non_lazy_ptr in SUBSYS.o
"_Unix_socket_group", referenced from:
_Unix_socket_group$non_lazy_ptr in SUBSYS.o
_ConfigureNamesString in SUBSYS.o
"_boot_reldesc", referenced from:
_boot_reldesc$non_lazy_ptr in SUBSYS.o
"_tcp_keepalives_idle", referenced from:
_tcp_keepalives_idle$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_MyProcPid", referenced from:
_MyProcPid$non_lazy_ptr in SUBSYS.o
_MyProcPid$non_lazy_ptr in SUBSYS.o
_MyProcPid$non_lazy_ptr in SUBSYS.o
_MyProcPid$non_lazy_ptr in SUBSYS.o
_MyProcPid$non_lazy_ptr in SUBSYS.o
_MyProcPid$non_lazy_ptr in SUBSYS.o
"_ReadBufferCount", referenced from:
_ReadBufferCount$non_lazy_ptr in SUBSYS.o
"_boot_yychar", referenced from:
_boot_yychar$non_lazy_ptr in SUBSYS.o
"_pg_krb_srvnam", referenced from:
_ConfigureNamesString in SUBSYS.o
"_boot_yynerrs", referenced from:
_boot_yynerrs$non_lazy_ptr in SUBSYS.o
"_ConfigFileName", referenced from:
_ConfigureNamesString in SUBSYS.o
_ConfigFileName$non_lazy_ptr in SUBSYS.o
"_SPI_result", referenced from:
_SPI_result$non_lazy_ptr in SUBSYS.o
_SPI_result$non_lazy_ptr in SUBSYS.o
"_base_yychar", referenced from:
_base_yychar$non_lazy_ptr in SUBSYS.o
"_LocalBufferFlushCount", referenced from:
_LocalBufferFlushCount$non_lazy_ptr in SUBSYS.o
"_boot_yyleng", referenced from:
_boot_yyleng$non_lazy_ptr in SUBSYS.o
"_numattr", referenced from:
_numattr$non_lazy_ptr in SUBSYS.o
"_boot_yylval", referenced from:
_boot_yylval$non_lazy_ptr in SUBSYS.o
"_debug_query_string", referenced from:
_debug_query_string$non_lazy_ptr in SUBSYS.o
_debug_query_string$non_lazy_ptr in SUBSYS.o
_debug_query_string$non_lazy_ptr in SUBSYS.o
"_Geqo_selection_bias", referenced from:
_Geqo_selection_bias$non_lazy_ptr in SUBSYS.o
_ConfigureNamesReal in SUBSYS.o
"_base_yyleng", referenced from:
_base_yyleng$non_lazy_ptr in SUBSYS.o
"_locale_time", referenced from:
_ConfigureNamesString in SUBSYS.o
"_base_yylloc", referenced from:
_base_yylloc$non_lazy_ptr in SUBSYS.o
"_geqo_threshold", referenced from:
_geqo_threshold$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_boot_yytext", referenced from:
_boot_yytext$non_lazy_ptr in SUBSYS.o
"_base_yylval", referenced from:
_base_yylval$non_lazy_ptr in SUBSYS.o
"_Dynamic_library_path", referenced from:
_ConfigureNamesString in SUBSYS.o
_Dynamic_library_path$non_lazy_ptr in SUBSYS.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[2]: *** [postgres] Error 1
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2
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_postgresql82/work/postgresql-8.2.5"
&& gnumake " returned error 2
Command output: "_boot_yylval", referenced from:
_boot_yylval$non_lazy_ptr in SUBSYS.o
"_debug_query_string", referenced from:
_debug_query_string$non_lazy_ptr in SUBSYS.o
_debug_query_string$non_lazy_ptr in SUBSYS.o
_debug_query_string$non_lazy_ptr in SUBSYS.o
"_Geqo_selection_bias", referenced from:
_Geqo_selection_bias$non_lazy_ptr in SUBSYS.o
_ConfigureNamesReal in SUBSYS.o
"_base_yyleng", referenced from:
_base_yyleng$non_lazy_ptr in SUBSYS.o
"_locale_time", referenced from:
_ConfigureNamesString in SUBSYS.o
"_base_yylloc", referenced from:
_base_yylloc$non_lazy_ptr in SUBSYS.o
"_geqo_threshold", referenced from:
_geqo_threshold$non_lazy_ptr in SUBSYS.o
_ConfigureNamesInt in SUBSYS.o
"_boot_yytext", referenced from:
_boot_yytext$non_lazy_ptr in SUBSYS.o
"_base_yylval", referenced from:
_base_yylval$non_lazy_ptr in SUBSYS.o
"_Dynamic_library_path", referenced from:
_ConfigureNamesString in SUBSYS.o
_Dynamic_library_path$non_lazy_ptr in SUBSYS.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[2]: *** [postgres] Error 1
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2
Warning: the following items did not execute (for postgresql82):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
--
View this message in context: http://www.nabble.com/Compiling-postgresql82-on-Leopard-tf4697604.html#a13428159
Sent from the MacPorts - Users mailing list archive at Nabble.com.
More information about the macports-users
mailing list