Also mir fällt schon ml das hier auf:

>> /* begin */
>> 1: int PQconnectdb();
>> 2: /*top*/
>> 3: /*
>> 4:  * http://trac.macports.org/ticket/3604
>> 5:  * gcc 4.0 on 10.4 has a problem
>> 6:  */
>> 7: int main() { return 0; }
>> 8: int t() { PQconnectdb(); return 0; }
>> /* end */

und er beschwert sich hier:

> have_library: checking for PQconnectdb() in -lpq... -------------------- no

> "/usr/bin/gcc-4.2 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. 
> -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include 
> -I/Library/PostgreSQL/8.4/include -pipe -O2  -fno-common -pipe -fno-common    
> conftest.c  -L. -L/opt/local/lib -L. -L/opt/local/lib 
> -L/Library/PostgreSQL/8.4/lib   -arch x86_64   -lruby-static -lpq  -lpthread 
> -ldl -lobjc  "
> conftest.c: In function ‘t’:
> conftest.c:3: error: ‘PQconnectdb’ undeclared (first use in this function)
> conftest.c:3: error: (Each undeclared identifier is reported only once
> conftest.c:3: error: for each function it appears in.)
> checked program was:
> /* begin */
> 1: /*top*/
> 2: int main() { return 0; }
> 3: int t() { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return 0; 
> }
> /* end */



Hast Du noch gcc 4.0? Welches Mac OS hast Du?

Da schon geschaut?

>> http://trac.macports.org/ticket/3604



Thomas von Deyen

mobile  +49 (0)151 2296 7864
mail    tho...@vondeyen.com
web     thomas.vondeyen.com
twitter twitter.com/tvdeyen

Save the environment:

Before printing this email, 
please assess if it is really 
needed!

_______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an