Re: ln on Irix

"DINH Viêt Hoà" <[email protected]> Mon, 21 Apr 2008 11:23:02 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
On Sun, Apr 20, 2008 at 2:57 PM, Dimitrios Apostolou <[email protected]> wrote:
>
> DINH Viêt Hoà wrote:
>
> > On Sat, Apr 19, 2008 at 2:40 AM, Dimitrios Apostolou <[email protected]>
> wrote:
> >
> > > Hello list,
> > >
> > >  when I try to build libetpan-0.54 on Irix, I get the following errors
> at the beginning of the build, for many many files:
> > >
> > >  ln -s -f ../../src/low-level/imap/acl_types.h
> > >  Insufficient arguments
> > >  Usage: ln [-fis] file1 file2
> > >       ln [-fis] file1 ... file2 dir
> > >
> > >
> > >  I'm pretty much sure that this ln command needs a dot at the end, am I
> right?
> > >
> >
> > sure.
> > this is fixed in latest CVS.
> >
> > Thanks for reporting.
> >
> >
>
>  Hello and thanks for the fix. I applied your fix and finally managed to
> continue the build process. I get lots of warnings I ignore, but here is an
> error I get after a long time building:
>
>  option-parser.c: In function `parse_options':
>  option-parser.c:75: error: elements of array `long_options' have incomplete
> type
>  option-parser.c:76: warning: excess elements in struct initializer
>  option-parser.c:76: warning: (near initialization for `long_options[0]')

hmmm I need to analyze to know how getopt is implemented on irix.

as a workaround, in libetpan main directory, find the following line
in the Makefile.am :

SUBDIRS = build-windows include src tests doc

and remove "tests"
tests are not needed to build libetpan even though they are useful to
test it or understand the usage.

-- 
DINH Viêt Hoà

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone