The fixed packages are up now. Cheers, Christian
-- Christian Schulte, www.ict.kth.se/~cschulte/ -----Original Message----- From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of Guido Tack Sent: Monday, October 12, 2009 7:38 PM To: Denys Duchier Cc: us...@gecode.org Subject: Re: [gecode-users] Makefile patch for building in non-source dir Thanks, Denys. It was actually a bug in our Makefile that only occurred on systems that don't have a recent enough flex/bison installed. It's fixed in the trunk and the 3.2.0 tag now, and we'll update the source packages accordingly (as it only affects the build system). Cheers, Guido Denys Duchier wrote: > Hi Guys, > > I always compile in a directory that is a sibling of the source > directory. With 3.2.0 from svn I was getting the following error: > > make[1]: *** No rule to make target `gecode/flatzinc/ > parser.tab.cpp', needed by `gecode/flatzinc/parser.tab.o'. Stop. > > Adding the VPATH definition shown below to Makefile.in fixed that > problem. > > Cheer, > > --Denys > > Index: Makefile.in > =================================================================== > --- Makefile.in (revision 9875) > +++ Makefile.in (working copy) > @@ -52,6 +52,7 @@ > export docdir= @docdir@ > export top_srcdir = @top_srcdir@ > export top_builddir = . > +export VPATH = $(top_builddir):$(top_srcdir) > > # Install to different root directory > DESTDIR= > > _______________________________________________ > Gecode users mailing list > us...@gecode.org > https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users