Anders Logg wrote: > On Wed, Mar 12, 2008 at 09:27:23PM +0000, Garth N. Wells wrote: >> >> [EMAIL PROTECTED] wrote: >>> On Wed, Mar 12, 2008 Garth N. Wells wrote: >>>> Anders Logg wrote: >>>>> On Tue, Mar 11, 2008 at 05:00:22PM +0000, Garth N. Wells wrote: >>>>> >>>>>> [EMAIL PROTECTED] wrote: >>>>>>> On Tue, Mar 11, 2008 Anders Logg wrote: >>>>>>>> It looks like the SCOTCH test was modified to not include common.h >>>>>>>> (as I suggested). But as pointed out by Johannes, common.h is needed >>>>>>>> to compile the test program. >>>>>>>> >>>>>>>> Could we add common.h back? >>>>>>> Sorry about that. Should be fixed now! >>>>>>> >>>>>> I'm having trouble with SCOTCH. I get >>>>>> >>>>>> Checking for scotch... no (pkg-config file not found) >>>>>> Trying to generate pkg-config file for scotch... failed >>>>>> *** Unable to generate a suitable pkg-config file for scotch. >>>>>> *** If scotch is present on your system, try setting the SCOTCH_DIR >>>>>> *** environment variable to the directory where scotch is installed. >>>>>> *** SCOTCH_DIR is currently set to /usr/local >>>>>> >>>>>> both before and after setting SCOCTH_DIR. >>>>> I guess you did it without the typo? >>>>> >>>> Yes, even without the typo it doesn't work. Where can I find a log with >>>> the tests that scons has performed so I can have a go at debugging this? >>>> >>>> Garth >>> There is a log file under the scons folder called simula_scons.log. >>> However, I'm not sure if this will help in this case. The best way to >>> debug this problem is probably to run the scotch.py pkg-config generator >>> script (under scons/simula-scons/simula_scons/pkgconfiggenerators) by >>> itself and then edit this script. >>> >>> Johannes >>> >> I didn't have the SCOTCH files common.h and libcommon.a installed. >> Strange the it worked before with the old build system. >> >> Garth > > The strange thing is we need them now, since common.h and libcommon.a > are not used as far as I know. > > The missing FILE when excluding common.h can be fixed by including > stdio.h. >
'FILE' is why I needed common.h. Perhaps we should set it up such that common.h and libcommon are not required. Garth _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
