building postgres 8.2

View: New views
7 Messages — Rating Filter:   Alert me  

building postgres 8.2

by Rick Gigger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is what happens when I try to build the postgresql82 port.

$ sudo port install postgresql82
--->  Building postgresql82
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

Error: Status 1 encountered during processing.



Same with postgresql81

$ sudo port install postgresql81
Password:
--->  Building postgresql81
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_postgresql81/work/
postgresql-8.1.10" && gnumake " returned error 2
Command output:       _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
   "_LocalBufferFlushCount", referenced from:
       _LocalBufferFlushCount$non_lazy_ptr in SUBSYS.o
   "_numattr", referenced from:
       _numattr$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
   "_geqo_threshold", referenced from:
       _geqo_threshold$non_lazy_ptr in SUBSYS.o
       _ConfigureNamesInt 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: Status 1 encountered during processing.

_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: building postgres 8.2

by Rick Gigger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 29, 2007, at 4:42 PM, Rick Gigger wrote:

> This is what happens when I try to build the postgresql82 port.
>
> $ sudo port install postgresql82
> --->  Building postgresql82
> 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
>
> Error: Status 1 encountered during processing.
>
>
>
> Same with postgresql81
>
> $ sudo port install postgresql81
> Password:
> --->  Building postgresql81
> 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_postgresql81/work/
> postgresql-8.1.10" && gnumake " returned error 2
> Command output:       _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
>  "_LocalBufferFlushCount", referenced from:
>      _LocalBufferFlushCount$non_lazy_ptr in SUBSYS.o
>  "_numattr", referenced from:
>      _numattr$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
>  "_geqo_threshold", referenced from:
>      _geqo_threshold$non_lazy_ptr in SUBSYS.o
>      _ConfigureNamesInt 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: Status 1 encountered during processing.

I should have clarified here that I am using Leopard.

Also I tried building postgres 8.2.5 (same as macports is using http://svn.macports.org/repository/macports/trunk/dports/databases/postgresql82/Portfile)
  from source and it built fine.  So I think that possibly it's one of  
the contrib modules that is causing the problem.  If I modify the port  
file how to I tell the port command to use the modified file?
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: building postgres 8.2

by Ryan Schmidt-24 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What OS version, processor architecture, MacPorts version, and Xcode  
version do you have?

On Oct 29, 2007, at 17:42, Rick Gigger wrote:

> This is what happens when I try to build the postgresql82 port.
>
> $ sudo port install postgresql82
> --->  Building postgresql82
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_datab
> ases_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
>
> Error: Status 1 encountered during processing.
>
>
>
> Same with postgresql81
>
> $ sudo port install postgresql81
> Password:
> --->  Building postgresql81
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_datab
> ases_postgresql81/work/postgresql-8.1.10" && gnumake " returned  
> error 2
> Command output:       _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
>   "_LocalBufferFlushCount", referenced from:
>       _LocalBufferFlushCount$non_lazy_ptr in SUBSYS.o
>   "_numattr", referenced from:
>       _numattr$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
>   "_geqo_threshold", referenced from:
>       _geqo_threshold$non_lazy_ptr in SUBSYS.o
>       _ConfigureNamesInt 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: Status 1 encountered during processing.
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: building postgres 8.2

by Rick Gigger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mac os 10.5.0 (build 9A581)
Intel Core 2 Duo 2.4 GHz
MacPorts 1.520
gcc version 4.0.1 (Apple Inc. build 5465)


It looks like it is dying on the following command.
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

When I built it from source and had it work I think that this was the  
corresponding command:
gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -
Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-
aliasing -L../../src/port     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  -lm -o  
postgres




On Oct 29, 2007, at 5:14 PM, Ryan Schmidt wrote:

> What OS version, processor architecture, MacPorts version, and Xcode  
> version do you have?
>
> On Oct 29, 2007, at 17:42, Rick Gigger wrote:
>
>> This is what happens when I try to build the postgresql82 port.
>>
>> $ sudo port install postgresql82
>> --->  Building postgresql82
>> 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
>>
>> Error: Status 1 encountered during processing.
>>
>>
>>
>> Same with postgresql81
>>
>> $ sudo port install postgresql81
>> Password:
>> --->  Building postgresql81
>> 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_postgresql81/work/
>> postgresql-8.1.10" && gnumake " returned error 2
>> Command output:       _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
>> "_LocalBufferFlushCount", referenced from:
>>     _LocalBufferFlushCount$non_lazy_ptr in SUBSYS.o
>> "_numattr", referenced from:
>>     _numattr$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
>> "_geqo_threshold", referenced from:
>>     _geqo_threshold$non_lazy_ptr in SUBSYS.o
>>     _ConfigureNamesInt 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: Status 1 encountered during processing.
>

_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: building postgres 8.2

by Ryan Schmidt-24 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think we already have two issues filed on this. I've added your  
email address to the Cc list of those bugs so you'll be informed when  
something happens to them.

http://trac.macports.org/projects/macports/ticket/12994

http://trac.macports.org/projects/macports/ticket/12757


On Oct 29, 2007, at 18:54, Rick Gigger wrote:

> Mac os 10.5.0 (build 9A581)
> Intel Core 2 Duo 2.4 GHz
> MacPorts 1.520
> gcc version 4.0.1 (Apple Inc. build 5465)
>
>
> It looks like it is dying on the following command.
> 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
>
> When I built it from source and had it work I think that this was  
> the corresponding command:
> gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -
> Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-
> aliasing -L../../src/port     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  
>  -lm -o postgres
>
>
>
>
> On Oct 29, 2007, at 5:14 PM, Ryan Schmidt wrote:
>
>> What OS version, processor architecture, MacPorts version, and  
>> Xcode version do you have?
>>
>> On Oct 29, 2007, at 17:42, Rick Gigger wrote:
>>
>>> This is what happens when I try to build the postgresql82 port.
>>>
>>> $ sudo port install postgresql82
>>> --->  Building postgresql82
>>> Error: Target org.macports.build returned: shell command " cd "/
>>> opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_dat
>>> abases_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
>>>
>>> Error: Status 1 encountered during processing.
>>>
>>>
>>>
>>> Same with postgresql81
>>>
>>> $ sudo port install postgresql81
>>> Password:
>>> --->  Building postgresql81
>>> Error: Target org.macports.build returned: shell command " cd "/
>>> opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_dat
>>> abases_postgresql81/work/postgresql-8.1.10" && gnumake " returned  
>>> error 2
>>> Command output:       _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
>>> "_LocalBufferFlushCount", referenced from:
>>>     _LocalBufferFlushCount$non_lazy_ptr in SUBSYS.o
>>> "_numattr", referenced from:
>>>     _numattr$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
>>> "_geqo_threshold", referenced from:
>>>     _geqo_threshold$non_lazy_ptr in SUBSYS.o
>>>     _ConfigureNamesInt 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: Status 1 encountered during processing.
>>
>

_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: building postgres 8.2

by Ryan Schmidt-24 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 29, 2007, at 18:13, Rick Gigger wrote:

> Also I tried building postgres 8.2.5 (same as macports is using  
> http://svn.macports.org/repository/macports/trunk/dports/databases/ 
> postgresql82/Portfile) from source and it built fine.  So I think  
> that possibly it's one of the contrib modules that is causing the  
> problem.  If I modify the port file how to I tell the port command  
> to use the modified file?

This should explain what you need to know; if it does not, please let  
us know. The new guide is still in the process of being written and I  
haven't actually read it yet.

http://geeklair.net/new_macports_guide/#development.local-repositories


_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: building postgres 8.2

by Rick Gigger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 29, 2007, at 6:12 PM, Ryan Schmidt wrote:

>
> On Oct 29, 2007, at 18:13, Rick Gigger wrote:
>
>> Also I tried building postgres 8.2.5 (same as macports is using http://svn.macports.org/repository/macports/trunk/dports/databases/postgresql82/Portfile)
>>  from source and it built fine.  So I think that possibly it's one  
>> of the contrib modules that is causing the problem.  If I modify  
>> the port file how to I tell the port command to use the modified  
>> file?
>
> This should explain what you need to know; if it does not, please  
> let us know. The new guide is still in the process of being written  
> and I haven't actually read it yet.
>
> http://geeklair.net/new_macports_guide/#development.local-repositories

This explained just fine how to do it.  I wasn't able to modify the  
postgresql port file to get it to work though.  So I ended up just  
downloading the postgres source code and installing it the good old  
fashioned way with a ./configure, make, make install.  The virgin  
source compiles and installs perfectly although I didn't add in any  
configure flags (except --prefix) and I didn't add in any contrib  
modules.

Then I used the instructions above to create my own port file for  
php5.  I added my own variant to build with --with-pgsql but instead  
of using the macports postgres I had it build against my hand  
installed postgres.  Everything built fine at that point so I am up  
and running.  I am curious as to what the port file is adding in that  
is breaking it though, cause I couldn't figure it out.
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users