Jeremy Erwin wrote:
> 
> I am in the process of testing a fink port of open dx (version 4.2.0) My
> port uses automake, so as to keep the patch smaller and easier to debug.
> What packages will insure that a would be compiler can run aclocal,
> automake, autoconf and autoheader?

I'll give a long answer, because I feel that opendx is an important
package, and because I (like some otheers, I guess) have spent some
frustrating time trying to compile this thing. Sometimes it compiled,
but did not work, sometimes it did not compile. But this was before the
release of version 4.2.0.

I have now tried your dx-4.2.0-1 package (found somewhere on the opendx
mailing lists). It does not start compiling, because it depends on
"autoconf automake", and automake (*) in unstable, which is
automake-1.6, depends on autoconf25 which conflicts with autoconf. With
autoconf replaced by autoconf25 in the depends list, it started
compiling but broke down after a while with an error that I have been
getting sometimes (and sometimes not) when I earlier tried to compile
opendx myself:

cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include 
-Dmacos  -I/sw/include/libxml2 -I/sw/include/freetype2 -D_REENTRANT
-I/sw/include -I/sw/include -I/usr/X11R6/include
-I/usr/X11R6/include/X11 -I/sw/include -I/usr/X11R6/include  -g -O2
-Wall -no-cpp-precomp -I/usr/X11R6/include -D_GNU_SOURCE -c `test -f
'buffer.c' || echo './'`buffer.c
buffer.c:1:  dxconfig . h : No such file or directory
buffer.c:2:  string . h : No such file or directory
buffer.c:3:  dx / dx . h : No such file or directory
buffer.c:4:  X11 / X . h : No such file or directory

Note the spurious spaces. The file buffer.c had been made before by
using "cc -E" as a preprocessor, which did not work well:

cc -E __buffer.c | tr -s "\044" "\012" | sed   -e '/^#/d' -e
's/INCLUDE2/#include/' -e 's/^pragma/#pragma/'  > buffer.c
__buffer.c:10: illegal external declaration, missing `;' after `>'
__buffer.c:22: undefined type, found `Error'
__buffer.c:24: undefined type, found `RGBColor'
__buffer.c:118: undefined type, found `RGBColor'
__buffer.c:157: undefined type, found `Error'
__buffer.c:169: undefined type, found `Error'
[some 800 similar errors skipped]

And it did introduce a space after every symbol. I don't know whether
this has to do with automake or autoconf, but there is a connection, see below.

(*) Right now, fink offers a selection of four versions of automake
under two (three?)  different names, automake and automake15 (and
automake-1.4). They sometimes can coexist, sometimes not, and they
require different versions of autoconf. I'll summarize some of the
situation here, but it is so confusing that I probably won't get it right.

automake-1.4-p5-2: Needed for building some packages. Only exists in
stable, not in unstable, although this violates fink policy. Has been
removed and reintroduced several times. I tend to think ATM that this is
the one that makes opendx build (?). In any case, if I have this
installed, the above preprocessing of buffer.c is not done by "cc -E",
which does not work, but by "cc -E -traditional-cpp", which does.

automake-1.5-1: Only in stable. Depends on nothing; contains aclocal executable.

automake15-1.5-2: Only in unstable. Depends on nothing; contains no
aclocal executable (it is called aclocal-1.5 instead). Opendx wants an
aclocal executable, so it does not start to build with this automake15.

automake-1.6.1-1: Only in unstable. Depends on autoconf25 which
conflicts with autoconf (which is at version 2.13-3 right now). Contains
an aclocal executable.

To answer your question: IMHO, you would have to do

fink remove automake
fink install automake-1.4-p5-2
fink install autoconf

Some other combinations might work, too, but I haven't seen anything obvious.

In the BuildDepends line, you would need "autoconf automake-1.4-p5-2". I
think "automake (<< 1.5)" does not work, because fink sometimes regards
"automake-1.4" as name and "p5" as version or something.

-- 
Martin

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to