On 2007/10/30, at 7:49, Alan W. Irwin wrote: > On 2007-10-30 07:09+0900 Hiroyasu Yasuda wrote: > >> >> On 2007/10/29, at 19:27, Alan W. Irwin wrote: >> >>> Please run the command that determines the compile flags and link >>> flags, i.e., >>> PKG_CONFIG_PATH=/home/yasu/plplot-5.8.0-RC1/b001/install/lib/ >>> pkgconfig \ >>> pkg-config --cflags --libs plplotd-f77 >> >> Alan, I tried to build a fortran sample code of plplot with >> options which you suggested me and then I got error message as >> follows: >> >> $ g77 x01f.f -o x01f.exe -Wl,-rpath -Wl,/home/yasu/plplot-5.8.0- >> RC1/ b001/instal >> l/lib `PKG_CONFIG_PATH=/home/yasu/plplot-5.8.0-RC1/b001/install/ >> lib/pkgconfig p >> kg-config --cflags --libs plplotd-f77` >> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ >> ld: cannot find >> -lplplotf77d >> collect2: ld returned 1 exit status >> > > Actually I did not ask you to run g77. Instead the directions > above were to run exactly the following command: > > PKG_CONFIG_PATH=/home/yasu/plplot-5.8.0-RC1/b001/install/lib/ > pkgconfig \ > pkg-config --cflags --libs plplotd-f77 > > (not g77) and send the results (which should be a bunch of compiler > flags > and linker flags) to the list. The backticks surrounding this > command for > the g77 command line simply make all those compiler flags and linker > flags available to g77, but I don't want the g77 results, I want the > actual flags themselves which I why I asked you to run the above > command > on its own without g77.
I just get the results of above command: -DXTHREADS -DXUSE_MTSAFE_API -I/home/yasu/plplot-5.8.0-RC1/b001/ install/include/plplot -I/usr/include/freetype2 -I/usr/include/ libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/ libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 - I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/ pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/ X11R6/include -I/usr/include/atk-1.0 -Wl,--export-dynamic /usr/X11R6/ bin/libfreetype.dll /usr/bin/cygz.dll /usr/X11R6/bin/libX11.dll /usr/ X11R6/bin/libXext.dll -L/home/yasu/plplot-5.8.0-RC1/b001/install/lib - L/usr/X11R6/lib -L/lib -L/usr/X11R6/bin -lplplotf77d -lplplotf77cd - lplplotd -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 - lart_lgpl_2 -lxml2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 - latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz - lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm - lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lgd.dll - lpng.dll -ljpeg.dll -lSM -lICE -lcsirocsa Regards, Hiroyasu ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel