Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

Porting Khoros 2001 Pro from Interix 2.2 to Interix 3.0

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> Porting Khoros 2001 Pro from Interix 2.2 to Interix 3.0 Page: [1]
Login
Message << Older Topic   Newer Topic >>
Porting Khoros 2001 Pro from Interix 2.2 to Interix 3.0 - Oct. 4, '02, 4:40:51 AM   
Andreas

 

Posts: 8
Joined: Oct. 4, '02,
From: Ålesund, Norway
Status: offline
Hi,
I' m trying to install Khoros 2001 Pro (see www.khoral.com for more information about it) on Interix 3.0 running Windows XP Pro.

After changing the config.guess file to a more recent version I got a bit longer ahead of the installation process (thanks Charlie Russel!!). But it seems to go into some deadlock or something elsewhen compiling the " toolboxes" .

Since it' s designed to be compiled on many plattforms, like Linux, FreeBSD, IRIX, Interix 2.2, etc. I' m wondering if there is some known problems porting applications from Interix 2.2 -> Interix 3.0.. like gcc flags (it uses the C compiler mainly), etc.

Andreas HÀber
Post #: 1
RE: Porting Khoros 2001 Pro from Interix 2.2 to Interix... - Oct. 7, '02, 12:38:58 PM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
What sort of problems have you hit?

One of the best things to do _before_ you try and run ' configure' is to set the environment variable " CCFLAGS" to equal " -D_ALL_SOURCE" ,
and set the environment variable " CC" to equal " gcc" . The CC helps with some source code portability issue. The CCFLAGS helps by opening up a larger number of prototypes, structure definitions, etc in the headers files.

- Rodney

(in reply to Andreas)
Post #: 2
RE: Porting Khoros 2001 Pro from Interix 2.2 to Interix... - Oct. 24, '02, 10:43:13 AM   
zjdrew

 

Posts: 7
Joined: Jul. 14, '02,
Status: offline
Have you talked to the Khoral folks about their support for the Interix 2.2 version when run under Interix 3.0?

(in reply to Andreas)
Post #: 3
RE: RE: Porting Khoros 2001 Pro from Interix 2.2 to Int... - Oct. 25, '02, 9:17:24 AM   
Andreas

 

Posts: 8
Joined: Oct. 4, '02,
From: Ålesund, Norway
Status: offline
I tried to post a similar message to the Khoros mailinglist, but that one seems quite dead unfortunately.

(in reply to zjdrew)
Post #: 4
RE: RE: Porting Khoros 2001 Pro from Interix 2.2 to Int... - Oct. 25, '02, 9:22:46 AM   
Andreas

 

Posts: 8
Joined: Oct. 4, '02,
From: Ålesund, Norway
Status: offline
Sorry for my late reply ...

It doesn' t use configure, but rather it' s own build-system. See below for a quick explanation (AFAIK!!) what happens.

Using the -D_ALL_SOURCE flag didn' t help .

Description of setup/build of Khoros
----
1. It doesn' t use the usual configure script, but rather something they' ve developed for themselves (I believe).

2. The application consists of many packages, which is really .tar.gz files which includes scripts and some text files describing the contents of them + source files for the component/package.

Also a package is subdivided into one or more toolboxes, which I don' t have any good way of explaining what they are :(. Maybe the example below will help you.

3. When downloading Khoros from the link above [1] you get several files:
Kernel.kpg
kpkgadd.sh
Contrib.kpg
Datamanip.kpg
Documentation.kpg
Formats.kpg
Geometry.kpg
LinearAlgebra.kpg
Sampledata.kpg
Streaming.kpg

The kpkgadd.sh script is the main setup, which you might guess. It takes an argument of one of those packages, like this ./kpkgadd.sh Kernel.kpg

Kernel.kpg should be installed first, and includes a lot of basic utilities for the rest. It contains two " toolboxes" : build and bootstrap.

4. After getting a lot of information about your environment the kpkgadd.sh script starts building Khoros. First it builds the ' build' -toolbox. This " toolbox" contains only 1 application - kmake - which is used for the rest of the build process (or as far as I' ve got ;)).

5. It starts building the next toolbox - bootstrap - which is a lot of utilities.


Now, I can get to compile the kmake program without too much problems anymore (using a new config.guess file - thanks!). What I mean is.. the program compiles and gets installed correctly into the path where it belongs, so the build process can go on. However, in the middle of the installation process for the " bootstrap-toolbox" it deadlocks (it seems like).

So, as far as I can see there are 2 options about what' s wrong:
1 - The kmake utility isn' t compiled correctly.
2 - There is something wrong with the script for installing the bootstrap-toolbox.


Thanks for your help!
--
Andreas HÀber

(in reply to Rodney)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> Porting Khoros 2001 Pro from Interix 2.2 to Interix 3.0 Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047