Re: 0.52 make error

Alex S Moore <[email protected]> Tue, 25 Dec 2007 21:59:24 -0600
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
DINH Viêt Hoà wrote:
>>
>> I am trying to build 0.52 on Solaris 8.  Ran autogen, which appeared to
>> work, and configure with my options.  From gmake, I get the follwoing.
>>
>> gmake[2]: Entering directory `/export/medusa/asmoore/build/libetpan-0.52'
>> Making prepare in build-windows
>> gmake[3]: Entering directory
>> `/export/medusa/asmoore/build/libetpan-0.52/build-windows'
>> /bin/bash: -c: line 6: syntax error near unexpected token `;'
>> /bin/bash: -c: line 6: `  && for hdr in ; do \'
>> gmake[3]: *** [prepare-am] Error 2
>> gmake[3]: Leaving directory
>> `/export/medusa/asmoore/build/libetpan-0.52/build-windows'
..
> 
> Hello,
> 
> Could you try this patch (you have to checkout the CVS and apply the patch) ?

Thanks very much!  Yes, CVS plus the patch got me through that problem.

The build went a long way and failed at subdirectory tests.  I will work 
on this again tomorrow.  Here is the error, if the solution is obvious 
to you.  My configure options are simply `--prefix=/opt/csw 
--sysconfdir=/opt/csw/etc --mandir=/opt/csw/share/man 
--libdir=/opt/csw/lib`,

"option-parser.c", line 5: cannot find include file: <getopt.h>
"option-parser.c", line 75: incomplete struct/union/enum option: 
long_options
"option-parser.c", line 76: cannot do pointer arithmetic on operand of 
unknown size
"option-parser.c", line 76: too many struct/union initializers
"option-parser.c", line 76: cannot recover from previous errors
cc: acomp failed for option-parser.c
gmake[3]: *** [option-parser.o] Error 2
gmake[3]: Leaving directory `/export/nfs/csw/build/libetpan/tests'

Thanks again,

Alex

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/