gnuplot

cao.xu cao.xu at rytong.com
Tue Jun 7 00:32:42 PDT 2011


Hi,

	Thanks for your response. I have tried cleaning and installing gnuplot again after put the missed directories to /usr/share/emacs/22.1/.
	This time the warning about emacs didn't prompted but the error still happened:

:info:build emacs -batch -q -no-site-file -l ./dot.el -f batch-byte-compile gnup
lot.el
:info:build emacs -batch -q -no-site-file -l ./dot.el -f batch-byte-compile gnup
lot-gui.el
:info:build Cannot open load file: bytecomp:info:build Cannot open load file: bytecomp:info:build make[2]: *** [gnuplot.elc] Error 255
:info:build make[2]: *** Waiting for unfinished jobs....:info:build make[2]: *** [gnuplot-gui.elc] Error 255
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_mac
ports_sources_rsync.macports.org_release_ports_math_gnuplot/work/gnuplot-4.4.3" 
&& /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log f
or details):debug:build Backtrace: shell command failed (see log for details)
    while executing

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log
Type: application/octet-stream
Size: 111714 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110607/4927377f/attachment.obj>
-------------- next part --------------



BR

? 2011-6-7???2:24? Ryan Schmidt ???

> On Jun 6, 2011, at 03:02, cao.xu wrote:
> 
>> 	To install gunplot through macports, I get the following error:
>> 
>> localhost:local apple$ sudo port install gnuplot @4.4.3
> 
> Note that it is not possible to specify a version of a port to install. You will always get the version of the port that is currently available, regardless what you specify. (The version currently available happens to be 4.4.3, though, so coincidentally you're getting what you want at the moment.)
> 
> https://trac.macports.org/ticket/24520
> 
> 
>> Password:
>> --->  Computing dependencies for gnuplot
>> --->  Building gnuplot
>> Error: Target org.macports.build returned: shell command failed (see log for details)
>> Log for gnuplot is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/main.log
>> Error: Status 1 encountered during processing.
>> To report a bug, see <http://guide.macports.org/#project.tickets>
>> 
>> and the log is attached.
> 
> And it says:
> 
> :info:build Making all in lisp
> :info:build emacs -batch -q -no-site-file -l ./dot.el -f batch-byte-compile gnuplot.el
> :info:build emacs -batch -q -no-site-file -l ./dot.el -f batch-byte-compile gnuplot-gui.el
> :info:build Warning: arch-independent data dir (/usr/share/emacs/22.1/etc/) does not exist.
> :info:build Warning: arch-independent data dir (/usr/share/emacs/22.1/etc/) does not exist.
> :info:build Warning: Lisp directory `/usr/share/emacs/22.1/site-lisp' does not exist.
> :info:build Warning: Lisp directory `/usr/share/emacs/22.1/site-lisp' does not exist.
> :info:build Cannot open load file: bytecomp
> :info:build Cannot open load file: bytecomp
> :info:build make[2]: *** [gnuplot-gui.elc] Error 255
> :info:build make[2]: *** Waiting for unfinished jobs....
> :info:build make[2]: *** [gnuplot.elc] Error 255
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make: *** [all] Error 2
> 
> I don't know why gnuplot is looking for Mac OS X's emacs stuff. On my system, gnuplot installed the following emacs things:
> 
> $ port installed gnuplot
> The following ports are currently installed:
>  gnuplot @4.4.3_0+universal (active)
> $ port contents gnuplot | grep emacs
>  /opt/local/share/emacs/site-lisp/gnuplot-gui.el
>  /opt/local/share/emacs/site-lisp/gnuplot-gui.elc
>  /opt/local/share/emacs/site-lisp/gnuplot.el
>  /opt/local/share/emacs/site-lisp/gnuplot.elc
>  /opt/local/share/emacs/site-lisp/info-look.20.2.el
>  /opt/local/share/emacs/site-lisp/info-look.20.3.el
> 
> But I probably already had the emacs port installed. Maybe the gnuplot port simply needs a dependency on emacs. Try installing emacs:
> 
> sudo port install emacs
> 
> Then clean gnuplot and try again (see below).
> 
> 
> Meanwhile, the directories /usr/share/emacs/22.1/etc and /usr/share/emacs/22.1/site-lisp do exist on my Snow Leopard system; I do not use emacs so I guess they are standard parts of Snow Leopard:
> 
> $ ls -ld /usr/share/emacs/22.1/etc /usr/share/emacs/22.1/site-lisp
> drwxr-xr-x  137 root  wheel  4658 Aug  1  2009 /usr/share/emacs/22.1/etc
> drwxr-xr-x    3 root  wheel   102 Aug  1  2009 /usr/share/emacs/22.1/site-lisp
> 
> Do these directories really not exist on your system? If not, you may want to get them from your backups or your Mac OS X installation media.
> 
> 
> Finally, the log you sent was incomplete (contains lines that say "Skipping completed"). There may be relevant information in the parts of the log that were omitted. To get a full log, clean and try installing again.
> 
> sudo port clean gnuplot
> sudo port install gnuplot
> 
> 
> 



More information about the macports-users mailing list