Hi,

        After installed emacs from macports, gnuplot can be installed 
correctly. It seems the dependency on emacs is needed by gnuplot indeed.
        Thank you very much.

BR

在 2011-6-7,下午3:32, cao.xu 写道:

> 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
> 
> <main.log>
> 
> 
> 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
>> 
>> 
>> 
> 
> _______________________________________________
> macports-users mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to