Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-17-2006
alvakoldo10 alvakoldo10 is offline
Registered User
 
 
Join Date: Oct 2006
Posts: 6
No slice2java for Linux (no RedHat) at all

I don't have Windows neither Linux RedHat, and there's no way I can get slice2java.
I do not know how to build it from source package because the only reference to slice, has subdirectories
containing Makefile which don't get to compile.
I have even tried to get it from the binary package for RedHat, but as expected, an endless chain of
unsatisfied or even failed dependencies made me leave this way.
Desperate now......can't do anything as long as i don't get slice2java.
Pleaaaase help.
Reply With Quote
  #2 (permalink)  
Old 10-17-2006
beagles's Avatar
beagles beagles is offline
ZeroC Staff
 
Name: Brent Eagles
Organization: ZeroC, Inc
Project: Ice Developer
 
Join Date: Feb 2003
Location: Newfoundland
Posts: 110
Please see this page for information on our forum support policy.

Do not dispair, building the translator from the sources should be straightforward. What Linux are you using and what isn't building for you?

Cheers,
Brent
Reply With Quote
  #3 (permalink)  
Old 10-17-2006
alvakoldo10 alvakoldo10 is offline
Registered User
 
 
Join Date: Oct 2006
Posts: 6
Unhappy Using Linux Gentoo

Hi Beagles, to be precise, my Linux is:

Linux herri2 2.6.12-gentoo-r6_test #2 Tue Sep 13 13:28:01 CEST 2005 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz GenuineIntel GNU/Linux


and what i try to build is slice...or so i think because i am not sure as i see this directory structure under slice:

drwxr-xr-x 2 alvaro users 392 Oct 17 12:35 Freeze
drwxr-xr-x 2 alvaro users 344 Oct 12 03:53 Glacier2
drwxr-xr-x 2 alvaro users 1.2K Oct 17 11:29 Ice
drwxr-xr-x 2 alvaro users 136 Oct 12 03:53 IceBox
drwxr-xr-x 2 alvaro users 400 Oct 12 03:53 IceGrid
drwxr-xr-x 2 alvaro users 168 Oct 12 03:53 IcePatch2
drwxr-xr-x 2 alvaro users 136 Oct 12 03:53 IceStorm

and what i try is to build Freeze; and what i get is:

Makefile:12: ../../config/Make.rules: No such file or directory
make: *** No rule to make target `../../config/Make.rules'. Stop.

certainly lost.
Reply With Quote
  #4 (permalink)  
Old 10-17-2006
dwayne's Avatar
dwayne dwayne is online now
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 209
Please read our support policy and edit your signature.
Reply With Quote
  #5 (permalink)  
Old 10-17-2006
alvakoldo10 alvakoldo10 is offline
Registered User
 
 
Join Date: Oct 2006
Posts: 6
Sorry i missed signature, hope it's fine now.

just checking signature.
__________________
Alvaro OdeU
[logsAlerts]
S21 S.A.
Reply With Quote
  #6 (permalink)  
Old 10-17-2006
beagles's Avatar
beagles beagles is offline
ZeroC Staff
 
Name: Brent Eagles
Organization: ZeroC, Inc
Project: Ice Developer
 
Join Date: Feb 2003
Location: Newfoundland
Posts: 110
The makefiles in the Slice directories are used to run the Slice to C++ translator. The error you are seeing is probably because you haven't built the Slice to C++ translator yet.

Given sufficient familiarity, you could selectively build specific components. However, I recommend that you simply run 'make' from the source distribution's root directory. For example:

cd ~/mysrcs/Ice-3.1.1
make

Given even remotely recent hardware, this shouldn't take very long to complete and builds everything there is to build.
Reply With Quote
  #7 (permalink)  
Old 10-17-2006
beagles's Avatar
beagles beagles is offline
ZeroC Staff
 
Name: Brent Eagles
Organization: ZeroC, Inc
Project: Ice Developer
 
Join Date: Feb 2003
Location: Newfoundland
Posts: 110
A colleague reminded me that the makefiles in the slice directories are for [bold]installing[/bold] the Slice, not building them. More coffee is apparently required!

The message indicates that ice/slice/Freeze/../../config/Make.rules does not exist. Did you unpack only part of the Ice distribution? If so, why?

In any case, my previous recommendation is probably still your best bet. Unpack the entire Ice for C++ sources, enter the Ice sources directory and run 'make'. I've built Ice on gentoo distributions many times "out-of-the-box", so I'd be curious to see what problems you run into using the normal build procedure.

Cheers
Reply With Quote
  #8 (permalink)  
Old 10-18-2006
alvakoldo10 alvakoldo10 is offline
Registered User
 
 
Join Date: Oct 2006
Posts: 6
Hello again.
Ok, i heed your advice and first got the C++ package; so now I've got:

IceJ-3.1.1-java2.tar.gz (as I had before) and Ice-3.1.1.tar.gz downloaded from your download section. In order to build first
the translator as indicated for C++.

I try to compile the c++ version and it crashes because of lots of undeclared symbols, forward declarations and some
other in files like SharedDb.h (overall), TransactionI.h and SharedDbEnv.h

I already have BerkelyDB 4.3.9 installed, as gcc 3.3.5 and rest of requirements indicated in INSTALL.

I know i am a medium developer, but being unable to build this software makes feel completely dull.

Any idea please.
__________________
Alvaro OdeU
[logsAlerts]
S21 S.A.
Reply With Quote
  #9 (permalink)  
Old 10-18-2006
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
You must provide more details about the errors you get. Please cut&paste them here.
Reply With Quote
  #10 (permalink)  
Old 10-18-2006
alvakoldo10 alvakoldo10 is offline
Registered User
 
 
Join Date: Oct 2006
Posts: 6
Ok. I missed something

just that; i missed indicating BerkeleyDB path at config/Make.Rules.

Now i shall compile my cpp package in order to achieve compilation of java package, that's what i
really want-.

thanx for your time.
__________________
Alvaro OdeU
[logsAlerts]
S21 S.A.
Reply With Quote
  #11 (permalink)  
Old 10-18-2006
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Note that you don't really need to compile Freeze if you just want slice2java. You can stop the compilation process once the directory ice/src/slice2java has been processed.
Reply With Quote
  #12 (permalink)  
Old 10-19-2006
alvakoldo10 alvakoldo10 is offline
Registered User
 
 
Join Date: Oct 2006
Posts: 6
Ok I got it at last, thou my compilation command was

CLASSPATH=$CLASSPATH:/<path_to_berkeley_db> make

as the property berkeleydb.jar correctly set at config/build.properties did not make effect.

that's all folks now is when the truth time comes.

thnx 2 all.
__________________
Alvaro OdeU
[logsAlerts]
S21 S.A.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Build error in Redhat Linux 9.0 wuqiu Help Center 10 05-16-2006 11:39 PM
Performance problems on RedHat Linux 2.4.21 kernel gasproni Help Center 7 10-04-2005 10:54 AM
Connection Refused Exception with Redhat Linux mwilson Help Center 6 07-12-2005 01:09 PM
Redhat Enterprise Linux (RHEL) support? kent144 Help Center 3 08-07-2004 09:19 PM
Freeze build in Redhat Linux yomi Help Center 4 04-10-2004 01:20 PM


All times are GMT -4. The time now is 10:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.