I have gone through all the discussions in this page, and haven’t got any ideas. There is error showing up when I use “make install”. (I have gnuplot 4.0.1 in my computer at this moment, but it was installed by someone else some while ago.) I am trying to install gnuplot 4.4.3 in my mac ox 10.5.8. deps/alloc.Tpo -c -o alloc.o alloc.cĬc1: error: invalid option argument ‘-ObjC’ I./term -I./term -DBINDIR=\”/usr/local/bin\” -DX11_DRIVER_DIR=\”/usr/local/libexec/gnuplot/4.4\” -DGNUPLOT_PS_DIR=\”/usr/local/share/gnuplot/4.4/PostScript\” -DGNUPLOT_JS_DIR=\”/usr/local/share/gnuplot/4.4/js\” -DGNUPLOT_LUA_DIR=\”/usr/local/share/gnuplot/4.4/lua\” -DCONTACT=\” \” -DHELPFILE=\”/usr/local/share/gnuplot/4.4/gnuplot.gih\” -DGNUPLOT_X11=\”`echo gnuplot_x11 | sed ‘s,x,x,’`\” -DXAPPLRESDIR=\”/etc/X11/app-defaults/\” -I/usr/X11/include -D_REENTRANT -I/Library/Frameworks/GTK .framework/Resources/include/cairo -I/Library/Frameworks/GTK .framework/Resources/include/pixman-1 -I/Library/Frameworks/GTK .framework/Resources/include/freetype2 -I/Library/Frameworks/GTK .framework/Resources/include -I/Library/Frameworks/GTK .framework/Resources/include/libpng12 -I/Library/Frameworks/GTK .framework/Resources/include/pango-1.0 -I/Library/Frameworks/GTK .framework/Resources/include/glib-2.0 -I/Library/Frameworks/GTK .framework/Resources/lib/glib-2.0/include -g -O2 -ObjC -MT alloc.o -MD -MP -MF. When I run the “make” command, I get the following gibberish (everything works up to that point): Gnuplot 4.4 has some major improvements so it may worth to install Gnuplot following these instructions. pngcairo and pdfcairo are the new terminals you can use now. Gnuplot will be installed in /usr/local/bin and should be ready to be used (if /usr/local/bin is in your path). In the configure output you should find something like wxt terminal: no (requires C , wxWidgets>2.6, cairo>0.9, pango>1.10) configure -with-readline=bsd -disable-wxwidgets Download Gnuplot 4.4.0 from Sourceforge.Then download Gnuplot 4.4.0, untar, configure and compile it: (Re)start Terminal.app and see if pkg-config cairo -libs works.profile file in the home directory:Įxport PATH=/Library/Frameworks/GTK .framework/Resources/bin:$PATH Download the GTK_2.18.5-X11.pkg package from and install it.Since these formats are the ones which I need mainly, I show in this post how we could compile and install Gnuplot with little effort, providing X11, png and pdf terminal (and others which are compiled in anyway).įirst we need to download and install the GTK Framework, which was described in this post. Since gif and jpeg (libgd terminal) shouldn’t be used for plots anyways, this is no loss. These terminals replace the gd terminals ( libgd is not easily installed due it’s dependencies) and the old pdf terminal (which depends on the not-very-free pdflib). In the meantime Gnuplot 4.4.0 was released and although the wxWidgets terminal still doesn’t work on Mac OS X, there are the new cairo based terminals which provide png and pdf output. In a former post I showed how Gnuplot 4.2.6 could be easily installed on Mac OS X.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |