Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: 1 ... 138 139 [140]
2086
Programming / Re: Have questions about porting software to eCS?
« on: December 29, 2012, 08:50:29 pm »
Thanks Paul, it needs Bazaar, so you have to start somewhere. Didn't know that wxwidgets doesn't work well with OS/2  :(, its used in many programs which does something with graphics. Get the feeling that graphics is our weak spot.

Re: bazaar - I'd forgotten, but it used python - so if you have python and gcc installed, trying to install it with 'python setup.py install' _may_ work.

Something triggered in my mind last night re: graphical toolkits like xwidgets and even gtk+ that it may be possible to compile them for OS/2 using the odin toolkit and the win32 api.  A lot of work has been done on odin recently - this may be a viable way to get other graphical toolkits than Qt onto OS/2.
I'm not committing _yet_ to take this on, but I am thinking about it.  Debugging apache2/php is starting to annoy me, so I need something fun to distract me :)

If I can compile the GTK+ toolkit using odin, there's a chance of getting an up to date Gimp for OS/2!

2087
Programming / Re: Have questions about porting software to eCS?
« on: December 29, 2012, 06:16:18 am »
Quote
FWIW, I downloaded the wget 1.14 source this evening and have run configure.  Will see what's required for me to get it building and post back here

Don't waste too much time on it. I can't get wget 1.11.1 to build either. There is something in my configuration that is wrong, and I won't have time to try to figure it out, until next year.

Fairly trivial.

One minor diff:
diff -ur wget-1.14-o/lib/spawn.in.h wget-1.14/lib/spawn.in.h
--- wget-1.14-o/lib/spawn.in.h   2012-12-28 19:05:04.000000000 +1030
+++ wget-1.14/lib/spawn.in.h   2012-12-29 15:36:20.000000000 +1030
@@ -32,7 +32,7 @@
 
 /* Get definitions of 'struct sched_param' and 'sigset_t'.
    But avoid namespace pollution on glibc systems.  */
-#if !(defined __GLIBC__ && !defined __UCLIBC__)
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && !defined __KLIBC__
 # include <sched.h>
 # include <signal.h>
 #endif

2088
Programming / Re: Have questions about porting software to eCS?
« on: December 28, 2012, 10:09:32 am »
Quote
wget built very easily with Paul's environment...

I assumed that that was the case, since Paul suggests starting with wget. As I said, I need some guidance, but I also need the time to tackle it again. The main objective, with this project, is to get the build environment to work with a simple project that is known to work, since others have done it. After that, it is easier to move on to more complicated projects.

FWIW, I downloaded the wget 1.14 source this evening and have run configure.  Will see what's required for me to get it building and post back here

2089
Programming / Re: Have questions about porting software to eCS?
« on: December 28, 2012, 01:34:34 am »
Want to try to compile Rocrail, but its using Bazaar instead of CVS. How different are those two? Is it hard / difficult to port Bazaar to OS/2-eCS? Paul, you did CVS as far as I know, how difficult was it?

yeah the build of cvs I use was built by me.  I've never looked at bazaar, but likely it is quite portable, so I will try and take a look at it.

Note Rocrail has source snapshots available too - https://launchpad.net/rocrail/sunrise/2.0/+download/rocrail-4282-sources.tar.gz

Note also, this uses wxwidgets, which doesn't work terribly well on OS/2.

2090
Programming / Re: Have questions about porting software to eCS?
« on: December 27, 2012, 07:39:55 am »
In terms of tools  shameless plug is http://os2ports.smedley.id.au/index.php?page=BuildEnvDVD :)

In the absolute best case scenario, the process is:
1) extract source
2) run configure using something like:
    ash ./configure --prefix=/name_of_app --disable-shared --enable-static 2>&1 | tee configure.log
    --prefix specifies where we want to install the app - default will be /usr or /usr/local
    --disable-shared tells it not to build shared libraries (in most cases the app won't know how to build shared libraries (ie DLL's)
    --enable-static forces static libraries to be built
    2>&1 | tee configure.log puts the output from configure into a file called configure.log for debugging purposes
3) assuming configure completes:
     make 2>&1 | tee build.log
    runs make, with output of the command pipes into build.log
4) If no, errors.
    make install
    output will be put into the directory specified as prefix in 2)

I'd suggest starting with a simple command line app like wget

People seem to want to be ambitious and start with something like virtualbox!

2091
Comments, Suggestions & Questions / Re: Porting software to OS/2 sub-forum?
« on: December 27, 2012, 07:34:32 am »
Hi Paul,

I was thinking more about someone like myself copying stuff from your posts (or others) and adding to a main "Pauls tips n tricks" one with a note at the bottom that all info came from you but has been scrapped from your posts :)


OH!!! I like that idea. Could even be a page on the EDM wiki? With a sticky link to it from here?

2092
Programming / Have questions about porting software to eCS?
« on: December 26, 2012, 09:44:14 am »
Hi All,

Wanting to encourage anyone who has an interest in porting software to eCS from unix, to post their questions in this forum.  I answer a lot of questions on IRC or when I see them in the newsgroups, but this forum is a far more convenient place for those questions (unless the server crashes again :P)

Cheers,

Paul

2093
Comments, Suggestions & Questions / Re: Porting software to OS/2 sub-forum?
« on: December 26, 2012, 09:42:01 am »
My thoughts are more encouraging people to post their questions in one place - if I start trying to document tips, I'll never get any ports done :)

But I'll always try and answer peoples questions :)

2094
Comments, Suggestions & Questions / Porting software to OS/2 sub-forum?
« on: December 25, 2012, 10:38:16 pm »
Hi all,

I see we have a Programming forum - what do people think about having a separate forum (or sub-forum) for people who are wanting to learn how to do Unix ports to OS/2, either using my build environment, or their own?

Or should we just use the main programming forum?

Cheers,

Paul

2095
Comments, Suggestions & Questions / Re: Congratulations
« on: December 25, 2012, 10:34:17 pm »
Terrific to have the site and the forums back online!

Pages: 1 ... 138 139 [140]