Opened 14 years ago

Closed 14 years ago

#24953 closed defect (worksforme)

gnuplot-4.4.0 build failure

Reported by: romeovs@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gnuplot

Description (last modified by jmroot (Joshua Root))

Hello,

I ran

"sudo port install gnuplot"

and got:

78-20-51-195:~ romeo$ sudo port install gnuplot
--->  Computing dependencies for gnuplot
--->  Building gnuplot
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/work/gnuplot-4.4.0" && /usr/bin/make -j1 all " returned error 2
Command output:       _LUA_set_color in term.o
      _LUA_set_color in term.o
      _LUA_set_color in term.o
      _LUA_GP_get_all_variables in term.o
      _LUA_GP_get_all_variables in term.o
      _LUA_arrow in term.o
      _LUA_arrow in term.o
  "_luaL_openlibs", referenced from:
      _LUA_options in term.o
  "_luaL_error", referenced from:
      _LUA_GP_term_options in term.o
      _LUA_GP_term_options in term.o
      _LUA_GP_write in term.o
      _LUA_GP_term_out in term.o
      _LUA_GP_int_warn in term.o
      _LUA_GP_int_error in term.o
  "_luaL_loadfile", referenced from:
      _LUA_options in term.o
  "_lua_tolstring", referenced from:
      _LUA_call_report in term.o
      _LUA_options in term.o
      _LUA_options in term.o
  "_lua_pushvalue", referenced from:
      _LUA_options in term.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [gnuplot] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

I hope you could help me on this? I need the gnuplot to work for school...

I recently installed macports from a source file... I had to do this because the binary didn't work, perhaps this has something to do with the error..

greets

romeo

Change History (5)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: gnuplot status 1 removed
Summary: "error: status 1 encountered" whilst installing gnuplotgnuplot-4.4.0 build failure

Please remember to preview and use WikiFormatting. You need to attach full debug output.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Do you have the lua port installed? If so, it may be interfering. I've seen this with some other ports. Deactivate lua, clean gnuplot, try installing gnuplot again, and then, if desired, reactivate lua.

sudo port deactivate lua
sudo port clean gnuplot
sudo port install gnuplot
sudo port activate lua

comment:3 in reply to:  description Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to romeovs@…:

I recently installed macports from a source file... I had to do this because the binary didn't work, perhaps this has something to do with the error..

Also, what do you mean by this? In what way did the MacPorts binary not work?

comment:4 Changed 14 years ago by romeovs@…

I've managed to fix this by totally uninstalling macports...

gnuplot now works fine!

just need to get my TeX to work with it..

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Ok, glad you got it working.

Note: See TracTickets for help on using tickets.