hiroyasu yasuda wrote: > Hello Arjen: > >>> - Are you using the latest release (PLplot 5.7.1) or version 5.6.1? >> > > I was using PLplot 5.7.0. yesterday. > > >>> - Are you using the ./configure script to build the libraries or >>> are you >>> using the CMake build system? >> > > I followed 'INSTALL' document below: > >> 3) With g95: [Fortran 95 (GCC) 4.2.0 20060512 (experimental)] >> ./configure --disable-wxwidgets --enable-f95 FC=gfortran F77=gfortran >> make FFLAGS="-Wl,-single_module" FCFLAGS="-Wl,-single_module" >> make install >> make check > > > > When I tried 'make install' and 'make check' last week, their command > returned some 'Error'. But I tried installation using 'sudo' > yesterday, did > not return Error message. Is my PLplot libraries on OSX OK?
Hm, that sound sas if you do not have sufficient permissions to install files in the default directory. > > And please tell me how to compile fortran source with PLplot libraries ? You could try the following: - Copy, say, x01f.f90 to a separate directory - Then compile it and link it like this: gfortran -o example x01f.f90 -I/directory/with/modules -L/directory/with/libraries -lplplotf95d -lplplotf95cd -lplplotd (Or: gfortran -o examples x01f.f90 `pkg-config --cflags --libs plplot-f95 but I am not sure that already works properly) Regards, Arjen ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel