Problem compiling Ruby 1.8.5
Hi, I have: macports 1.320 I tried to do: sudo port install ruby I obtained: ---> Building tk with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_tk/work/tk8.4.12/unix" && make all" returned error 2 ......................... ......................... g_dpupdate_dports_x11_tk/work/tk8.4.12/unix/../generic/tk3d.c:1396: error: parse error before ')' token {standard input}:6:Ignoring attempt to re-define symbol. {standard input}:12:Ignoring attempt to re-define symbol. {standard input}:15:Ignoring attempt to re-define symbol. {standard input}:18:Ignoring attempt to re-define symbol. {standard input}:39:Ignoring attempt to re-define symbol. {standard input}:42:Ignoring attempt to re-define symbol. make: *** [tk3d.o] Error 1 Error: The following dependencies failed to build: tk Error: Status 1 encountered during processing. any help? -- Piero Campanelli http://blog.pierocampanelli.info
On Nov 28, 2006, at 4:02 AM, Piero Campanelli wrote:
Hi, I have: macports 1.320 I tried to do: sudo port install ruby
I obtained:
---> Building tk with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_x11_tk/work/tk8.4.12/unix" && make all" returned error 2 ......................... ......................... g_dpupdate_dports_x11_tk/work/tk8.4.12/unix/../generic/tk3d.c:1396: error: parse error before ')' token {standard input}:6:Ignoring attempt to re-define symbol. {standard input}:12:Ignoring attempt to re-define symbol. {standard input}:15:Ignoring attempt to re-define symbol. {standard input}:18:Ignoring attempt to re-define symbol. {standard input}:39:Ignoring attempt to re-define symbol. {standard input}:42:Ignoring attempt to re-define symbol. make: *** [tk3d.o] Error 1
Error: The following dependencies failed to build: tk Error: Status 1 encountered during processing.
That looks very odd. There shouldn't be any dependent relationship between ruby and tk. On your system, run 'port deps ruby' and send the list its output. Here's mind for reference: cremes$ port deps ruby ruby has library dependencies on: libiconv readline openssl zlib cr
On 28 nov. 06, at 15:46, cremes.devlist@mac.com wrote:
That looks very odd. There shouldn't be any dependent relationship between ruby and tk.
The Ruby Portfile has been dependent on port:tcl and port:tk since it was updated for 1.8.5. Some of us disagree with that :) Have a look at ticket #11006: <http://trac.macports.org/projects/macports/ticket/11006> And by the way: % port deps ruby ruby has library dependencies on: libiconv readline openssl zlib ncurses tcl tk -- Luc Heinrich - luc@honk-honk.com - http://www.honk-honk.com
On Nov 28, 2006, at 9:14 AM, Luc Heinrich wrote:
On 28 nov. 06, at 15:46, cremes.devlist@mac.com wrote:
That looks very odd. There shouldn't be any dependent relationship between ruby and tk.
The Ruby Portfile has been dependent on port:tcl and port:tk since it was updated for 1.8.5. Some of us disagree with that :)
Have a look at ticket #11006: <http://trac.macports.org/projects/macports/ticket/11006>
And by the way: % port deps ruby ruby has library dependencies on: libiconv readline openssl zlib ncurses tcl tk
Hmmm... strange. Well, in the interest of getting Piero working, let's remove those dependencies. Piero, from your shell type 'port edit ruby'. This will open a copy of your locally stored portfile for ruby. Look for the line starting with "depends_lib" and change it to look like the following: depends_lib port:libiconv \ port:readline \ port:openssl \ port:zlib Save the file and try to do your install again. Hopefully it will work. cr
Le 29 nov. 06 à 07:20, Chuck Remes a écrit :
Well, in the interest of getting Piero working, let's remove those dependencies.
Piero, from your shell type 'port edit ruby'. This will open a copy of your locally stored portfile for ruby. Look for the line starting with "depends_lib" and change it to look like the following:
depends_lib port:libiconv \ port:readline \ port:openssl \ port:zlib
Save the file and try to do your install again. Hopefully it will work.
No. Please update your installation instead, with selfupdate or whatever. Ruby 1.8.5_2 doesn't have these dependencies. Regards, Paul
On 28 nov. 06, at 23:22, Paul Guyot wrote:
No. Please update your installation instead, with selfupdate or whatever. Ruby 1.8.5_2 doesn't have these dependencies.
Cool, thanks for committing the patch. -- Luc Heinrich - luc@honk-honk.com - http://www.honk-honk.com
thank you guys. I fixed using the patch found in TRAC. Anyway I'll do a selfupdate. Thank you -Piero On 11/29/06, Luc Heinrich <luc@honk-honk.com> wrote:
On 28 nov. 06, at 23:22, Paul Guyot wrote:
No. Please update your installation instead, with selfupdate or whatever. Ruby 1.8.5_2 doesn't have these dependencies.
Cool, thanks for committing the patch.
-- Luc Heinrich - luc@honk-honk.com - http://www.honk-honk.com
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- Piero Campanelli http://blog.pierocampanelli.info
participants (5)
-
Chuck Remes
-
cremes.devlist@mac.com
-
Luc Heinrich
-
Paul Guyot
-
Piero Campanelli