OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Programming => Topic started by: El Vato on 2008.01.01, 22:03:15

Title: SWIG for OS/2
Post by: El Vato on 2008.01.01, 22:03:15
Is there a port of SWIG (http://www.swig.org) for OS/2 ???

I am getting errors during the build process --yes, when I execute the make command...sigh, sigh, sigh!
Title: Re: SWIG for OS/2
Post by: jalih on 2008.01.01, 23:38:56
Quote from: El Vato on 2008.01.01, 22:03:15
Is there a port of SWIG (http://www.swig.org) for OS/2 ???

I am getting errors during the build process --yes, when I execute the make command...sigh, sigh, sigh!


Should build fine with just:
   ash
   ./configure
   make

and to install, just:
   make install


--jalih
Title: Re: SWIG for OS/2
Post by: El Vato on 2008.01.02, 04:27:46
Quote from: jalih on 2008.01.01, 23:38:56
Quote from: El Vato on 2008.01.01, 22:03:15
Is there a port of SWIG (http://www.swig.org) for OS/2 ???

I am getting errors during the build process --yes, when I execute the make command...sigh, sigh, sigh!


Should build fine with just:

I defined the following variables in the OS/2 environment prior to entering my public domain Korn Shell (ksh):

SET CC=w:\emx\usr\bin\gcc.exe
SET GREP=w:/emx/bin/grep.exe

   ash

I used ksh to accomplish the shell Unixish required feat and began the procedure with:

   ./configure

the directive completed with no apparent issues.  Notwithstanding, the subsequent directive (duplicated by you below)...

Quote from: jalih on 2008.01.01, 23:38:56
   make
here is where the "target is not defined error" occurs.

It is necessary to note that (in my case) without the variable definitions above not even the ./configure directive is successful.  Would you mind listing all of the variables that you defined prior to the build ???

Needless to say, I would appreciate that, jalih --or yourself making available the swig binary that you already built for OS/2 ...this latter is only a component of a larger experimental domain under consideration.


El Vato.
Title: Re: SWIG for OS/2
Post by: Paul Smedley on 2008.01.02, 10:28:56
Quote from: El Vato on 2008.01.01, 22:03:15
Is there a port of SWIG (http://www.swig.org) for OS/2 ???

I am getting errors during the build process --yes, when I execute the make command...sigh, sigh, sigh!

Built out of the box with my build environment.

http://download.smedley.info/swig-1.3.33-os2.zip
Title: Re: SWIG for OS/2
Post by: El Vato on 2008.01.03, 03:50:30
Quote from: Paul Smedley on 2008.01.02, 10:28:56
Quote from: El Vato on 2008.01.01, 22:03:15
Is there a port of SWIG (http://www.swig.org) for OS/2 ???
[...[

Built out of the box with my build environment.

http://download.smedley.info/swig-1.3.33-os2.zip

I appreciate the gesture, Smedley.

If it built under your dev environment with no issues, it implies that I have to first address my own environment issues before I can proceed any further. 

My own EMX based runtime environment was never intended specifically for development and, as is usually the case in human nature, embracing others' tools (yours in this particular case) implies potential change and adjustments to my familiar setting(s).

Several years ago, I downloaded Holger's XFReeOS/2 environment  compressed in a 62MB file named emxtree.zip.  Needless to say, I never got around to uncompressing it  --much less use it.

I will use the SWIG build procedure as a standard against which to measure  my subsequent but necessary environment adjustments  --given the fact that I have been also keeping an eye on the Mozilla thingie monsteringie... :)

Best regards and thank you.
Title: Re: SWIG for OS/2
Post by: Paul Smedley on 2008.01.03, 06:37:26
Quote from: El Vato on 2008.01.03, 03:50:30
Quote from: Paul Smedley on 2008.01.02, 10:28:56
Quote from: El Vato on 2008.01.01, 22:03:15
Is there a port of SWIG (http://www.swig.org) for OS/2 ???
[...[

Built out of the box with my build environment.

http://download.smedley.info/swig-1.3.33-os2.zip

I appreciate the gesture, Smedley.

If it built under your dev environment with no issues, it implies that I have to first address my own environment issues before I can proceed any further. 

In case you didn't know - you can download my build environment from my site at http://os2ports.smedley.info

Cheers,

Paul.