building postgres 8.2

Ryan Schmidt ryandesign at macports.org
Mon Oct 29 17:05:57 PDT 2007


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.
>>
>



More information about the macports-users mailing list