2 messages in com.perforce.p4ruby[p4ruby] Can't get p4ruby to work on ...| From | Sent On | Attachments |
|---|---|---|
| Bradford Hull | 25 Nov 2005 11:30 | |
| Robert Cowham | 25 Nov 2005 15:01 |
| Subject: | [p4ruby] Can't get p4ruby to work on Fedora Core 4![]() |
|---|---|
| From: | Robert Cowham (rob...@vaccaperna.co.uk) |
| Date: | 11/25/2005 03:01:08 PM |
| List: | com.perforce.p4ruby |
Try the gcc3 p4api:
ftp://ftp.perforce.com/perforce/r05.1/bin.linux3x86/ (or equivalent folder in a later release)
Can you install gcc3?
Robert
-----Original Message----- From: p4ruby-bounces at perforce.com [mailto:p4ruby-bounces at perforce.com] On Behalf Of Bradford Hull Sent: 25 November 2005 19:31 To: p4ruby at perforce.com Subject: [p4ruby] Can't get p4ruby to work on Fedora Core 4
I haven't seen this issue on this list, so I'll present it.
I'm trying to start up P4Ruby on a Fedora Core 4 32-bit x86. It would seem like a very common situation, so I'm surprised that I can't get it to work after it builds and links correctly, but it gives me this error message when I try to run the little example:
[bradfordh at bradfordh2 P4Ruby-1.4841]$ ruby example.rb /usr/lib/site_ruby/1.8/i386-linux/P4.so: /usr/lib/site_ruby/1.8/i386-linux/P4.so: undefined symbol: _Znwj - /usr/lib/site_ruby/1.8/i386-linux/P4.so (LoadError) from /usr/lib/site_ruby/1.8/P4.rb:112 from example.rb:2
I build the samplemain.cc in the p4api set and it builds correctly and works, so I figure this has to have something to do with I'm building the P4Ruby stuff. Notably, Fedora Core 4 as I have it is using gcc 4, and notes I have seen don't show anyplace a gcc 4-compiled p4api can be found, so that may be the issue. Can anybody point out anything that may lead me toward success here?
_______________________________________________ p4ruby mailing list p4ruby at perforce.com http://maillist.perforce.com/mailman/listinfo/p4ruby




