• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu
Menu

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.

Show posts Menu

Messages - dryeo

#1
Quote from: DougB on 2012.09.28, 23:03:08
Well, now I am running into configuration problems. For some reason, Paul's build seems to want to configure to build a Mozilla derivative, and it wants to use U:\moztools\config.site-gcc335b4. That file is from a release of moztools, as released by Dave Yeo, not too long ago. It bears no relation, at all, to my system, and a number of the entries don't make sense, to me. I don't think it should be using that anyway.

So, I removed the environment variables for MOZILLA, and CONFIG_SITE. Then, I get some reasonable output from:
ash ./configure
but it seems to want a different GREP than what is available. The error lines, from config.log are;
configure:5382: checking for grep that handles long lines and -e
configure:5433: error: no acceptable grep could be found in U:\foo;U:\usr\bin;U:\usr\local\bin;U:\GLIBIDL335\GLIB\gcc\bin;U:\GLIBIDL335\LIBIDL\gcc\bin;u:\PERL\bin;u:\bin;U:\MOZTOOLS;U:\EMX\bin;u:\extras\bin;u:\dev\qt\trunk\bin;U:\python25;M:\MPTN\BIN;M:\IBMCOM;M:\ECS\SYSTEM\Samba;M:\ECS\BIN;M:\TCPIP\BIN;W:\PROGRAMS\EMX\BIN;M:\IBMGSK50\BIN;M:\IBMGSK40\BIN;M:\IBMGSK\BIN;M:\OS2;M:\OS2\SYSTEM;M:\OS2\INSTALL;M:\;M:\OS2\MDOS;M:\OS2\APPS;M:\ECS\KLIBC\BIN;W:\PROGRAMS\JAVA142\BIN;M:\MMOS2\FREEDB;M:\MMOS2;M:\MMOS2\MMPLAYER;W:\PROGRAMS\4OS2;W:\PROGRAMS\OPENSSH;W:\UTILITY;W:\APPS\WGET\BIN;W:\TOOLS\dfsee\bin;W:\ODIN\SYSTEM32;W:\LOTUSW4\COMPNENT;W:\LOTUSW4\ORGANIZE;W:\LOTUSW4\APPROACH;W:\LOTUSW4\FLG;W:\LOTUSW4\WORDPRO;W:\APPS\BA2KWS;W:\PROGRAMS\qt4\bin;W:\APPS\EMBLSH;M:\ecs\ACPI\UTIL;U:\WATCOM\BINP;U:\WATCOM\BINW;U:\VISPRORX;;;/usr/xpg4/bin


Question: What is that all about?

As Paul hinted, it is looking for grep instead of grep.exe. You need exeext=.exe or/and ac_executable_extensions=.exe in your environment, preferably in config.site or set GREP=grep.exe, then perhaps PERL=perl.exe and so on.
BTW, I didn't release that moztools though it is basically the same as the one I use.
#2
Quote from: DougB on 2012.09.28, 07:22:47
QuoteI think it may help if someone can write some article on the EDM/2 on how to set up Paul's environment.
[...]

The download file contains a directory (wget-1.14). Put that on the same drive as Paul's build environment. Then, click on the icon that you built to launch paul's build environment. That should get you to a command line. Change to the wget-1.14 directory, and now we need to figure out how to build it. Paul's instructions are a little confusing at this point (and somewhat incomplete in some more complicated cases).

Since I am tired, I will quit here, and hopefully, somebody will make this a little easier. I am not at all sure if I still have the original setup files, or if I have messed around with them. I don't normally use the setup as Paul supplied it (which seems to be set up to build a mozilla derivative, and I do not have the latest version), so I am somewhat lost here. I am sure that most people will have the same problem.

What I'd do (I don't have Pauls environment) is open EPM,  and open a shell within EPM. (Command --> Create command shell). Now we have a scrolling window for reviewing output.
Start out by doing sh configure --help (I use [pdk]sh.exe, substitute ash if you prefer) and examine the output. Of interest are options such as --enable-threads={posix|solaris|pth|windows} --disable-ipv6, ssl options, libiconv, libintl and whether to support nls options. We'll come back to this if configure makes mistakes in configuring for the build system.
Then try sh configure and watch the configure script figure out the build environment, what tools we have installed and what our libc supports.
Eventually here configure errors out with,

checking for libgnutls... no
configure: error: --with-ssl was given, but GNUTLS is not available


So we have to decide whether to use openssl. (Openssl has an incompatible license with GPL v2 ). For our first test build we'll disable it, so rerun configure as sh configure --without-ssl.
Eventually configure ends by creating a bunch of makefiles, so now we can do
make
and after a bunch of output make dies with
epbase=`echo spawn-pipe.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc.exe -DHAVE_CONFIG_H -I. -I../src   -I/usr/local/include  -O2 -Wall -MT spawn-pipe.o -MD -MP -MF $depbase.Tpo -c -o spawn-pipe.o spawn-pipe.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ./spawn.h:37,
                 from spawn-pipe.c:47:
./sched.h:43: error: redefinition of 'struct sched_param'

So need to examine what is different between lib\spawn.h and lib\sched.h and how they relate to our headers.
Search \usr\include for sched_param, we find it in spawn.h with a comment, todo implement sched.h.
Perhaps configure got confused by not finding sched.h? As we have sched_param we should be able to ignore the one included by lib\spawn.h. Best seems to try to change line 35 in spawn.h.in from
#if !(defined __GLIBC__ && !defined __UCLIBC__)
to
#if !(defined __GLIBC__ && !defined __UCLIBC__ || defined __OS2__)
and try again.
This time make finishes by building src\wget.exe so see if it runs by cd src && wget --version and it seems to work.
Now to test by doing make check which unluckily dies here due to perl issues. These can probably be fixed or can test wget by downloading things and seeing if they work.
Ideally after the build error is to contact the authours of wget for advice on the best way to fix the problem and get a fix into the code so the next version builds out of the box.
#3
Quote from: Paul Smedley on 2012.09.28, 00:51:20
An example of a user who took my environment and ran with it, asking a lot of questions along the way, is Elbert Pol - who has now ported a shedload of apps for OS/2 - far more that I've done in recent times.

Elbert is a good example, he asks lots of questions. I'm often surprised how often I look at some development mailing list archives and there is Elbert asking something.

comp.os.os2.programing.porting is one place to ask questions.
#4
Here's a couple of porting guides. Understand that they are old and geared towards EMX and many of the referenced problems have been fixed in kLIBC.
http://www.os2site.com/sw/dev/guide.html
http://www.os2site.com/sw/dev/porting-faq.zip

Quote from: Joop on 2012.09.23, 16:36:00
Quote from: DougB on 2012.09.23, 07:46:23
Quotebecause the things where the compilation hangs are always the same things

I'll bet that Paul, and the others, are rolling on the floor, laughing at that statement. They are also crying, because it isn't always that simple.
Keep on rolling laughing on the floor  ;D, at the end we'll see.

Some compilation hangs are simple, eg needing socklen_t typedef. Some are complex such as our TCPIP stack not having getaddrinfo(), a very common function now a days as it supports both ipv4 and ipv6.
The real problems often happen after compilation succeeds, line ending issues is probably the most common. Many times you can find where the issues have already been fixed for Windows and just adding __OS2__ to a define may fix it.
A lot depends on the original source being written with portability in mind. If it uses calls to the Linux kernel such as Gnome does now, then even compiling on *BSD becomes very hard.
#5
Eugene wasn't clear what he wanted so I searched for openchat windows and one of the first hits was http://support.microsoft.com/kb/308232. Upon more reading, seems to come with XP.
#6
Applications / Re: Kompozer 0.8b3
2012.09.08, 21:49:41
Basically all I did was build it. For the options you can use .07 or .84bpre to set things up how you want them, then run .83b. .84bpre is reported to be unstable which was why someone asked me to build this version. I'll try to find time to see why the options menu item is missing.
Another bug is colours don't work in source view but do work in split view.
#7
Which Windows? Finding it for XP is easy.
#8
Quote from: miturbide on 2012.09.01, 05:01:10
The only MS patent I know about OS/2 is the HPFS which has 17 years. Is there any way to know if MS renew it ?

I think David is mixing up the original copyright law and patents. Patents last for 20 years from filing and can only be extended by adding to the invention. So there may be some NTFS patents that are based on the HPFS ones and could be used against a HPFS implementation. Microsoft would probably never complain about infringing on the HPFS ones and they haven't in regards to the Linux kernel which has contained HPFS (first read only, now read and write) since at least ver 1.x.
Of course when it comes to code there is also copyright which probably covers the DDK source and will probably never run out. The only reliable way around copyright is to do a clean re-implementation.
#9
What about the version of the Workplace shell that was written for AIX and other Unixes in the form of the Common Desktop Environment (CDE)? http://en.wikipedia.org/wiki/Common_Desktop_Environment
This has recently been opensourced and should run on Linux, http://sourceforge.net/projects/cdesktopenv/
#10
Applications / Re: Latest Firefox?
2012.08.11, 06:55:14
Quote from: melf on 2012.08.10, 15:42:15
The eCS FF builds after 8.01 give me trouble with Forecastfox -the weather widget. I constantly experience "connection error"; that's what the widget says. It simply doesn't work in the latest FFs (including the latest (developer)build you pointed to ethron). Do somebody recognize the problem? Moving back to FF 8.01 solves the problem.

There's a bug on our Mozilla where it doesn't pass the online/offline status correctly to add-ons. I've fixed other add-ons by removing the check but looking quickly at Forecastfox I can't find where it tests for online status  :(
#11
Quote from: jjurban on 2012.08.08, 23:45:07
about:plugins says "no plugins installed"
Never knew about "about:"

There's quite a few abouts, try about:about for a partial list.
#12
Do you also have npflos2.dll  │   47728│03/01/12│ 4:17p in your plugin directory (date and time might be sightly different)?
What does the URL about:plugins show?
#13
Yes, it is still being maintained. You need to look in http://rpm.netlabs.org/experimental/00/i386/i386/
#14
Quote from: Sigurd on 2012.07.14, 02:44:56
Because of Panorama driver still has this (for me ;-)  ) annoying bug with SDL and is still slow


What is the SDL bug?
#15
General Discussion / Re: Injoy
2012.07.11, 06:23:59
Quote from: bottomtop on 2012.07.11, 00:36:57
Am I correct in understanding that Injoy *might* let me connect to the VPN at my office?  If so, is that the "Injoy Dialer" or the "Injoy Firefirewall"?

Download the firewall and test it. http://www.bitwiseworks.com/firewall/#faq says that it is compatible with many but not all VPN networks.