Thanks for all the support.  That did it!

> In the directory where you have the dbmail source:
> 
> sudo ./install-dbmail.sh
> 
> or
> 
> sudo sh ./install-dbmail.sh
> 
> (if that doesn't maybe run sudo as a shell with the -s or -u flag, I dont
> have my mac os system nearby)
> 
> Otherwise it sounds like you built it successfully.  Try running
> "./dbmail-adduser s" to see if it can access the template db ok.
> 
> --John Scarbrough
> 
> ----- Original Message -----
> From: "dbmail" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, October 16, 2003 10:20 AM
> Subject: Re: [Dbmail] Mac OS X Installation
> 
> 
>> Thanks so much.  I needed to do the
>> 
>> -lmysqlclient -lcrypto -lz
>> 
>> Which got me a long way further, but still would not install:
>> 
>> 
>> Make succesfull. Do you want to install the binaries and man pages?
>> y
>> Target binary directory is now /usr/local/sbin.
>> Enter new directory or press RETURN to keep this setting:
>> 
>> ./build.sh: install-dbmail.sh: command not found
>> install script failed. You can rerun this manually by running
>> install-dbmail.sh
>> % sudo install-dbmail.sh
>> sudo: install-dbmail.sh: command not found
>> 
>> 
>>> I just downloaded the 1.2 source and attempted to build it in 10.2
>>> without success. Actually, the configure script wouldn't even work.
>>> Running ./configure --with-mysql=/usr/local/mysql , it was unable to
>>> find the mysql.h header, which is in /usr/local/mysql/include/ . I
>>> don't understand why it's unable to find that.. Pretty odd.
>>> 
>>> Using build.sh I was able to get it to build properly:
>>> 
>>> What database do you wish to use? Choices are (m)ysql and (p)ostgresql >
>>> m
>>> You have selected MySQL as database
>>> The library directory for MySQL is now [/usr/local/lib/mysql/].
>>> Enter new directory or press RETURN to keep this setting:
>>> /usr/local/mysql/lib/
>>> The include directory for MySQL is now [/usr/include/mysql/].
>>> Enter new directory or press RETURN to keep this setting:
>>> /usr/local/mysql/include/
>>> The libraries are currently set to [-lmysqlclient -lcrypto].
>>> Enter new libraries (preceed each by -l) or press RETURN to keep this
>>> setting:
>>> -lmysqlclient -lcrypto -lz
>>> 
>>> 
>>> As for that build.sh script, you can use the -n argument to echo (at
>>> least on most systems) to suppress the newline character and thus make
>>> it appear more like a prompt.
>>> 
>>> - Gabriel
>>> 
>>> On Thursday, October 16, 2003, at 09:58  AM, dbmail wrote:
>>> 
>>>> Okay.  I really appreciate your assistance.  A search for Mac OS X
>>>> compress
>>>> libraries came back with (gzip.org), that zlib for Mac OS X is now
>>>> included
>>>> as part of Mac OS X 10.x.  Doesn't that mean it should of worked?
>>>> This is
>>>> somewhat over my head.  What do I do here?
>>>> 
>>>>> 
>>>>> Hello,
>>>>> 
>>>>> You need the compress libraries, ie. libz.  See if you can find
>>>>> a package or something to load that.
>>>>> 
>>>>> jn
>>>>> 
>>>>> 
>>>>> ---- Original Message ----
>>>>> From: dbmail <[email protected]>
>>>>> To: <[email protected]>
>>>>> Subject: Re: [Dbmail] Mac OS X Installation
>>>>> Sent: Wed, 15 Oct 2003 23:39:47 -0500
>>>>> 
>>>>>> Thanks so much John!  Sure enough it makes a big difference with the
>>>>>> Developer Tools installed!
>>>>>> 
>>>>>> Still got a "Make failed" error (see below).  I think I figured out
>>>>>> that I
>>>>>> needed to change the default library directory on the dbmail build
>>>>>> for MySQL
>>>>>> from /usr/local/lib/mysql/ to /usr/local/mysql/lib - hoping that
>>>>>> makes
>>>>>> sense.  But I cannot figure this out:
>>>>>> 
>>>>>> 
>>>>>>> Creating makefile..
>>>>>>> 
>>>>>>> Done. You can now make dbmail by running 'make clean all'.
>>>>>>> Do you want this to be executed right now?
>>>>>>> y
>>>>>>> rm -f *.o core mysql/*.o
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o list.o list.c
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o debug.o debug.c
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o pipe.o pipe.c
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o mime.o mime.c
>>>>>>> cc -o mysql/dbmysql.o -c mysql/dbmysql.c -L/usr/local/mysql/lib/
>>>>>>> -I/usr/include/mysql/ -I.
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o dbmd5.o dbmd5.c
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o md5.o md5.c
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o bounce.o bounce.c
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o forward.o
>>>>>>> forward.c
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o memblock.o
>>>>>>> memblock.c
>>>>>>> cc -o mysql/dbauthmysql.o -c mysql/dbauthmysql.c
>>>>>>> -L/usr/local/mysql/lib/
>>>>>>> -I/usr/include/mysql/ -I.
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o config.o config.c
>>>>>>> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE    -c -o misc.o misc.c
>>>>>>> misc.c: In function `itoa':
>>>>>>> misc.c:50: warning: implicit declaration of function `malloc'
>>>>>>> cc      -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE  main.c -o
>>>>>>> dbmail-smtp list.o
>>>>>>> debug.o pipe.o mime.o mysql/dbmysql.o dbmd5.o md5.o bounce.o
>>>>>>> forward.o
>>>>>>> memblock.o mysql/dbauthmysql.o config.o misc.o
>>>>>>> -L/usr/local/mysql/lib/
>>>>>>> -I/usr/include/mysql/ -I. -lmysqlclient -lcrypto
>>>>>>> ld: Undefined symbols:
>>>>>>> _compress
>>>>>>> _uncompress
>>>>>>> make: *** [smtp] Error 1
>>>>>>> Sorry, Make failed.
>>>>>> 
>>>>>> 
>>>>>>>> The script can't find "make".  Did you install the developer
>>>>>>>> toolkit for
>>>>>>>> Mac
>>>>>>>> OS X? (in other words do you have a compiler, libs and utilities
>>>>>>>> to build
>>>>>>>> programs from source)
>>>>>>>> 
>>>>>>>> -- John Scarbrough
>>>>>>>> 
>>>>>>>> ----- Original Message -----
>>>>>>>> From: "dbmail" <[EMAIL PROTECTED]>
>>>>>>>> To: <[email protected]>
>>>>>>>> Sent: Wednesday, October 15, 2003 9:42 AM
>>>>>>>> Subject: [Dbmail] Mac OS X Installation
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> After installing MySQL in Mac OS X 10.2.8, I have attempted to
>>>>>>>>> install
>>>>>>>>> dbmail.  At the "Run build.sh" step (Step 3 in the "Install" read
>>>>>>>>> me),
>>>>>>>>> things become unglued:
>>>>>>>>> 
>>>>>>>>>> sudo ./build.sh
>>>>>>>>>> This is the dbmail build script
>>>>>>>>>> I will have to ask you some questions about your system
>>>>>>>>>> 
>>>>>>>>>> What database do you wish to use? Choices are (m)ysql and
>>>>>>>>>> (p)ostgresql >
>>>>>>>>>> m
>>>>>>>>>> You have selected MySQL as database
>>>>>>>>>> The library directory for MySQL is now [/usr/local/lib/mysql/].
>>>>>>>>>> Enter new directory or press RETURN to keep this setting:
>>>>>>>>>> 
>>>>>>>>>> The include directory for MySQL is now [/usr/include/mysql/].
>>>>>>>>>> Enter new directory or press RETURN to keep this setting:
>>>>>>>>>> 
>>>>>>>>>> The libraries are currently set to [-lmysqlclient -lcrypto].
>>>>>>>>>> Enter new libraries (preceed each by -l) or press RETURN to keep
>>>>>>>>>> this
>>>>>>>> setting:
>>>>>>>>>> 
>>>>>>>>>> ./build.sh: [-f: command not found
>>>>>>>>>> ./build.sh: [-f: command not found
>>>>>>>>>> 
>>>>>>>>>> Creating makefile..
>>>>>>>>>> 
>>>>>>>>>> Done. You can now make dbmail by running 'make clean all'.
>>>>>>>>>> Do you want this to be executed right now?
>>>>>>>>>> y
>>>>>>>>>> ./build.sh: make: command not found
>>>>>>>>>> Sorry, Make failed.
>>>>>>>>>> Please report any problems to the mailing list: [email protected]
>>>>>>>>>> You can find more information (including how to subscribe to the
>>>>>>>> mailinglist)
>>>>>>>>>> on www.dbmail.org
>>>>>>>>> 
>>>>>>>>> I have tried using -lmysqlclient -lcrypt instead, and I get the
>>>>>>>>> same
>>>>>>>>> problems.
>>>>>>>>> 
>>>>>>>>> - Newbie
>>>>>>>>> 
>>>>>>>>> _______________________________________________
>>>>>>>>> Dbmail mailing list
>>>>>>>>> [email protected]
>>>>>>>>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> Dbmail mailing list
>>>>>>>> [email protected]
>>>>>>>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Dbmail mailing list
>>>>>> [email protected]
>>>>>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>>>> 
>>>>> -- End Original Message --
>>>>> 
>>>>> 
>>>>> --
>>>>> Jesse Norell
>>>>> jesse (at) kci.net
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Dbmail mailing list
>>>>> [email protected]
>>>>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>> 
>>>> _______________________________________________
>>>> Dbmail mailing list
>>>> [email protected]
>>>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>> 
>>> 
>>> _______________________________________________
>>> Dbmail mailing list
>>> [email protected]
>>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>> 
>> _______________________________________________
>> Dbmail mailing list
>> [email protected]
>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>> 
> 
> 
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to