So, there is not really enough information to go on in this email. I don't know what system you are one, although I'd guess it is some kind of linux. I don't really know what is meant by "so I installed pgplot separately". Installed from source? From the package manager? I don't know why ifeffit's PGPLOT_install script failed for you. It has always worked just fine for me. Anyway, when I did not find a file called "libgcc_path.sh" on my own computer, I turned to good ol' Google. As near as I can tell, cpg/libgcc_path.sh is a script that compiles a simple C program, then probes the result to figure out what libraries it is compiled against. In short, it seems to be a way to figure out how to put the right collection of default -L command line directives into the compilation command so that program compiled against the pgplot library isn't missing anything. Or some such. I don't know how to resolve this problem either and it seems beyond the scope of what I can reasonably support given that went off-script to get pgplot installed on your computer. Doing that sort of thing presumes a certain level of independent spirit.... In the absence of other information, I would recommend that you figure out where libgcc_path.sh got installed on your machine then figure out how to make sure that it gets resolved at Build time. One fragile way to do that would be to "sudo mkdir /cpg" if it doesn't exist. Then make a symlink in /cpg to wherever your copy of libgcc_path.sh resides. Make sure it is accessible and executable by a normal user. B On 08/19/2016 01:26 PM, Gaurab Rimal wrote:
Hello, I have been trying to install demeter in my archlinux machine but have issues in the build process. I had issues installing pgplot from ifeffit git source so I installed pgplot separately (as outlined in the original pgplot instructions). After installing ifeffit and after all dependencies were met, I ran ./Build and got an error about 'cpg/libgcc_path.sh'. Below is the full output from ./Build. I am unsure of this error because it seems to be related to ifeffit and pgplot and do not know how to resolve this.
$ ./Build Ifeffit's installations directory is /usr/local/share/ifeffit (found by capturing `ifeffit -i`) Compilation flags (from /usr/local/share/ifeffit/config/Config.mak): -L/usr/local/lib -lifeffit -L/usr/local/pgplot/ -lpgplot -lX11 `/cpg/libgcc_path.sh` -lgcc -lm -lc -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../.. -lgfortran -lm -lgcc_s -lquadmath cc -I/usr/lib/perl5/core_perl/CORE -fPIC -L/usr/local/lib -lifeffit -L/usr/local/pgplot/ -lpgplot -lX11 `/cpg/libgcc_path.sh` -lgcc -lm -lc -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../.. -lgfortran -lm -lgcc_s -lquadmath -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -o src/ifeffit_wrap.o src/ifeffit_wrap.c cc: error: `/cpg/libgcc_path.sh`: No such file or directory error building src/ifeffit_wrap.o from 'src/ifeffit_wrap.c' at /usr/share/perl5/core_perl/ExtUtils/CBuilder/Base.pm line 174, <C> line 11.
Gaurab _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
-- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 743, Room 114 Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/