On Sun, Feb 9, 2014 at 11:10 PM, Vasiliy <[email protected]> wrote: > Hello dear Fenics community, > > I am a new Fenics user and I would like to get some advice from you, > i have downloaded Fenics using sudo apt-get install fenics for ubuntu, > and it was successful - i can run simulations using both python and c++. > > Recently i bumped into a project called Non-newtonian solver > > https://bitbucket.org/aterrel/dolfin-nonnewtonian > > to install they say I need to write > $ scons > > when I do that > dolfin-nonnewtonian$ scons > scons: Reading SConscript files ... > > Package dolfin was not found in the pkg-config search path. > Perhaps you should add the directory containing `dolfin.pc' > to the PKG_CONFIG_PATH environment variable > No package 'dolfin' found > OSError: 'echo 1>&2; pkg-config dolfin --cflags --libs' exited 1: > File "/home/vasiliy/Dropbox/FEM/dolfin-nonnewtonian/SConstruct", line 3: > SConscript(['src/SConstruct']) > File "/usr/lib/scons/SCons/Script/SConscript.py", line 614: > return method(*args, **kw) > File "/usr/lib/scons/SCons/Script/SConscript.py", line 551: > return _SConscript(self.fs, *files, **subst_kw) > File "/usr/lib/scons/SCons/Script/SConscript.py", line 260: > exec _file_ in call_stack[-1].globals > File "/home/vasiliy/Dropbox/FEM/dolfin-nonnewtonian/src/SConstruct", line > 12: > env.ParseConfig("echo $PKG_CONFIG_PATH 1>&2; pkg-config dolfin --cflags > --libs") > File "/usr/lib/scons/SCons/Environment.py", line 1554: > return function(self, self.backtick(command)) > File "/usr/lib/scons/SCons/Environment.py", line 596: > raise OSError("'%s' exited %d" % (command, status)) > > I suspect that because i installed using apt-get install it didn't add all > the variables to the path. > What should I do to make it work?
I decided to not include the pkg-config file dolfin.pc in the Ubuntu package for DOLFIN 1.3.0 because there were some problems with multiarch and I thought that nobody used it anymore (CMake files should be used instead). However, I have now uploaded a new package that includes the pkg-config file. This should be available from the FEniCS PPA within the next few hours. Please let me know if this fixes your problem. BTW, Ubuntu 13.04 (raring) is now obsolete and I was not able to upload a new package for this version of Ubuntu. Johannes _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
