[OGo-MacOSX] PostgreSQL bundle fails to build with SOPE 4.5
Matthew Griffin
macosx@opengroupware.org
Fri, 18 Nov 2005 13:57:23 +0100
--Apple-Mail-2--607378733
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
Hi Tabitha
Why don't you try using Marc Liyanage's postgres package - it
installs easily, and works well with OGo
http://www.entropy.ch/software/macosx/postgresql/
Matthew
On Nov 18, 2005, at 12:52 PM, Tabitha McNerney wrote:
> Hello all,
>
> Thans to Helge I think I now have the correct mailing list to post
> some OS X specific questions for OGo.
>
> On an Xserve running OS X Tiger Server (10.4.2), attempting to
> "make all" for SOPE 4.5 (alpha, checked out from the trunk about 24
> hours ago), configure seems to work just fine as the last several
> lines show up like this:
>
> creating: /Users/tm/SOPE-4.5/config.make
> optional library found: xml2
> optional library found: ldap
> required library found: ssl
> optional library found: pq
> optional library found: sqlite3
> optional library found: mysqlclient
> configuring NGStreams library .... done (log in config-NGStreams.log).
>
> When I next try to "make all", a lot of stuff seems to go well but
> I something breaks with the attempt to build the PostreSQL bundle.
> The section of output is below. Any ideas why this might be? Would
> it be better to stick with SOPE 4.4?
>
> The version of PostgreSQL that I have installed is 7.4.9 (as a
> Darwin Port). The shared object libraries and headers are all
> available in:
>
> /opt/local/lib/postgresql
> /opt/local/include/postgresql
> /opt/local/include/postgresql/postgres_ext.h
>
> I'm very new to OGo and SOPE and not much of a configure / make
> guru, but if there is anything I can do to help the community in an
> effort to improve this process, please let me know as I would be
> pleased to help in any way I can.
>
> Best regards,
>
> Tabitha
>
> Note: regarding ld:
>
> $ ld -v
> Apple Computer, Inc. version cctools-576.obj~23
>
> Making all in PostgreSQL...
> Making all for bundle PostgreSQL...
> Compiling file common.h ...
> Creating PostgreSQL.gdladaptor/Contents/MacOS...
> Compiling file PGConnection.m ...
> Compiling file PostgreSQL72Expression.m ...
> Compiling file PostgreSQL72Adaptor.m ...
> Compiling file PostgreSQL72Context.m ...
> Compiling file PostgreSQL72Channel.m ...
> Compiling file PostgreSQL72Channel+Model.m ...
> Compiling file PostgreSQL72Exception.m ...
> Compiling file PostgreSQL72Values.m ...
> Compiling file NSString+PostgreSQL72.m ...
> Compiling file EOAttribute+PostgreSQL72.m ...
> Compiling file NSString+PGVal.m ...
> Compiling file NSData+PGVal.m ...
> Compiling file NSCalendarDate+PGVal.m ...
> Compiling file NSNumber+PGVal.m ...
> Linking bundle PostgreSQL ...
> /usr/bin/ld: Undefined symbols:
> _SSL_pending
> _BIO_free
> _BIO_new_mem_buf
> _DH_check
> _DH_generate_parameters
> _DH_size
> _ERR_get_error
> _ERR_reason_error_string
> _EVP_PKEY_free
> _PEM_read_DHparams
> _PEM_read_PrivateKey
> _PEM_read_X509
> _PEM_read_bio_DHparams
> _SSL_CTX_ctrl
> _SSL_CTX_free
> _SSL_CTX_load_verify_locations
> _SSL_CTX_new
> _SSL_CTX_set_tmp_dh_callback
> _SSL_CTX_set_verify
> _SSL_CTX_set_verify_depth
> _SSL_connect
> _SSL_free
> _SSL_get_error
> _SSL_get_ex_data
> _SSL_get_peer_certificate
> _SSL_library_init
> _SSL_load_error_strings
> _SSL_new
> _SSL_read
> _SSL_set_ex_data
> _SSL_set_fd
> _SSL_shutdown
> _SSL_write
> _TLSv1_method
> _X509_NAME_get_text_by_NID
> _X509_NAME_oneline
> _X509_check_private_key
> _X509_free
> _X509_get_subject_name
> collect2: ld returned 1 exit status
> make[3]: *** [PostgreSQL.gdladaptor/Contents/MacOS/PostgreSQL] Error 1
> make[2]: *** [PostgreSQL.all.bundle.variables] Error 2
> make[1]: *** [internal-all] Error 2
> make: *** [internal-all] Error 2
>
--Apple-Mail-2--607378733
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">Hi Tabitha<DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Why don't you try using =
Marc Liyanage's postgres package - it installs easily, and works well =
with OGo</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV><A =
href=3D"http://www.entropy.ch/software/macosx/postgresql/">http://www.entr=
opy.ch/software/macosx/postgresql/</A></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Matthew</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Nov 18, =
2005, at 12:52 PM, Tabitha McNerney wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite">Hello =
all,<BR> <BR> Thans to Helge I think I now have the correct mailing list =
to post some OS X specific questions for OGo.<BR> <BR> On an Xserve =
running OS X Tiger Server (10.4.2), attempting to "make all" for SOPE =
4.5 (alpha, checked out from the trunk about 24 hours ago),=A0 configure =
seems to work just fine as=A0 the last several lines show up like =
this:<BR> <BR> <BLOCKQUOTE style=3D"border-left: 1px solid rgb(204, 204, =
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" =
class=3D"gmail_quote">creating: /Users/tm/SOPE-4.5/config.make<BR> =
optional library found: xml2<BR> optional library found: ldap<BR> =
required library found: ssl<BR> optional library found: pq<BR> optional =
library found: sqlite3<BR> optional library found: mysqlclient<BR> =
configuring NGStreams library .... done (log in =
config-NGStreams.log).</BLOCKQUOTE> <DIV><BR> When I next try to "make =
all", a lot of stuff seems to go well but I something breaks with the =
attempt to build the PostreSQL bundle. The section of output is below. =
Any ideas why this might be? Would it be better to stick with SOPE 4.4? =
<BR> <BR> The version of PostgreSQL that I have installed is 7.4.9 (as a =
Darwin Port). The shared object libraries and headers are all available =
in:<BR> <BR> <SPAN style=3D"font-weight: =
bold;">/opt/local/lib/postgresql</SPAN><BR style=3D"font-weight: bold;"> =
<SPAN style=3D"font-weight: =
bold;">/opt/local/include/postgresql</SPAN><BR style=3D"font-weight: =
bold;"> <SPAN style=3D"font-weight: =
bold;">/opt/local/include/postgresql/postgres_ext.h</SPAN><BR> <BR> I'm =
very new to OGo and SOPE and not much of a configure / make guru, but if =
there is anything I can do to help the community in an effort to improve =
this process, please let me know as I would be pleased to help in any =
way I can.<BR> <BR> Best regards,<BR> <BR> Tabitha<BR> </DIV><BR> Note: =
regarding ld:<BR> <BR> <BLOCKQUOTE style=3D"border-left: 1px solid =
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" =
class=3D"gmail_quote">$ ld -v<BR> Apple Computer, Inc. version =
cctools-576.obj~23<BR> </BLOCKQUOTE> <BR> <BLOCKQUOTE =
style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt =
0.8ex; padding-left: 1ex;" class=3D"gmail_quote"> Making all in =
PostgreSQL...<BR> Making all for bundle PostgreSQL...<BR> =A0Compiling =
file common.h ...<BR> =A0Creating =
PostgreSQL.gdladaptor/Contents/MacOS...<BR> =A0Compiling file =
PGConnection.m ...<BR> =A0Compiling file PostgreSQL72Expression.m =
...<BR> =A0Compiling file PostgreSQL72Adaptor.m ...<BR> =A0Compiling =
file PostgreSQL72Context.m ...<BR> =A0Compiling file =
PostgreSQL72Channel.m ...<BR> =A0Compiling file =
PostgreSQL72Channel+Model.m ...<BR> =A0Compiling file =
PostgreSQL72Exception.m ...<BR> =A0Compiling file PostgreSQL72Values.m =
...<BR> =A0Compiling file NSString+PostgreSQL72.m ...<BR> =A0Compiling =
file EOAttribute+PostgreSQL72.m ...<BR> =A0Compiling file =
NSString+PGVal.m ...<BR> =A0Compiling file NSData+PGVal.m ...<BR> =
=A0Compiling file NSCalendarDate+PGVal.m ...<BR> =A0Compiling file =
NSNumber+PGVal.m ...<BR> =A0Linking bundle PostgreSQL ...<BR> =
/usr/bin/ld: Undefined symbols:<BR> _SSL_pending<BR> _BIO_free<BR> =
_BIO_new_mem_buf<BR> _DH_check<BR> _DH_generate_parameters<BR> =
_DH_size<BR> _ERR_get_error<BR> _ERR_reason_error_string<BR> =
_EVP_PKEY_free<BR> _PEM_read_DHparams<BR> _PEM_read_PrivateKey<BR> =
_PEM_read_X509<BR> _PEM_read_bio_DHparams<BR> _SSL_CTX_ctrl<BR> =
_SSL_CTX_free<BR> _SSL_CTX_load_verify_locations<BR> _SSL_CTX_new<BR> =
_SSL_CTX_set_tmp_dh_callback<BR> _SSL_CTX_set_verify<BR> =
_SSL_CTX_set_verify_depth<BR> _SSL_connect<BR> _SSL_free<BR> =
_SSL_get_error<BR> _SSL_get_ex_data<BR> _SSL_get_peer_certificate<BR> =
_SSL_library_init<BR> _SSL_load_error_strings<BR> _SSL_new<BR> =
_SSL_read<BR> _SSL_set_ex_data<BR> _SSL_set_fd<BR> _SSL_shutdown<BR> =
_SSL_write<BR> _TLSv1_method<BR> _X509_NAME_get_text_by_NID<BR> =
_X509_NAME_oneline<BR> _X509_check_private_key<BR> _X509_free<BR> =
_X509_get_subject_name<BR> collect2: ld returned 1 exit status<BR> =
make[3]: *** [PostgreSQL.gdladaptor/Contents/MacOS/PostgreSQL] Error =
1<BR> make[2]: *** [PostgreSQL.all.bundle.variables] Error 2<BR> =
make[1]: *** [internal-all] Error 2<BR> make: *** [internal-all] Error =
2<BR> </BLOCKQUOTE> <BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>=
--Apple-Mail-2--607378733--