← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Try to fix issue with X11 in PETSc pkg-config generator on Mac.

 

Johannes Ring wrote:
> On Mon, Nov 16, 2009 at 11:41 AM, Harish Narayanan
> <harish.mlists@xxxxxxxxx> wrote:
>> DOLFIN wrote:
>>> One or more new changesets pushed to the primary dolfin repository.
>>> A short summary of the last three changesets is included below.
>>>
>>> changeset:   7437:8817d14ef429
>>> tag:         tip
>>> user:        Johannes Ring <johannr@xxxxxxxxx>
>>> date:        Thu Nov 12 08:41:23 2009 +0100
>>> files:       scons/simula-scons/simula_scons/pkgconfiggenerators/petsc.py
>>> description:
>>> Try to fix issue with X11 in PETSc pkg-config generator on Mac.
>> With the recent changes to the pkgconfiggenerators, DOLFIN builds out of
>> the box on my Mac. Thanks!
> 
> Great, but I think I made a minor misprint in petsc.py at line 34:
> 
> 	-@echo   ${C_SH_LIB_PATH} -L${PETSC_LIB_DIR} ${PETSC_LIB_BASIC} ${X11_LIBS}
> 
> I think it should be ${X11_LIB} and not ${X11_LIBS}. In my
> $PETSC_DIR/$PETSC_ARCH/conf/petscvariables there is no variable
> X11_LIBS, only X11_LIB. Is it the same on your Mac?

Yes, it appears to be X11_LIB here as well.

(Even though I noticed during my install of DOLFIN after a fresh clone
that -lX11 etc. showed up magically during linking.)

Harish


Follow ups

References