OS/2, eCS & ArcaOS - Technical > Programming
Have questions about porting software to eCS?
Paul Smedley:
--- Quote from: Doug Bissett on December 29, 2012, 04:55:34 pm ---
--- Quote ---Fairly trivial.
--- End quote ---
For you maybe. :)
Anyway, now I need to find the time to figure out what you just said, and get this thing to build.
Thanks...
--- End quote ---
OK, diff format is pretty simple:
diff -ur wget-1.14-o/lib/spawn.in.h wget-1.14/lib/spawn.in.h <== the source files that are being looked at for differences
-#if !(defined __GLIBC__ && !defined __UCLIBC__) <== the source line that is being taken out (-)
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && !defined __KLIBC__ <== the source line that is replacing the line being taken out (+)
What is the error you are getting when trying to compile wget?
Doug Bissett:
Thanks to Paul, I updated to his latest build environment, and applied the DIFF to the WGET 1.14 source (not sure that I did it right, but it works), and now I can build WGET 1.11.1 and WGET 1.14. :-*
Unfortunately, I broke building PMMail when I did the update. I obviously deleted something that was added to something that got replaced. :(
Oh well, you win some, and you lose some. Now, to sort out the PMMail build problem.
Andi B.:
One issue for me is that building from 4os2 prompt does not work/gives different problems as with standard cmd. F.i. 4os2 -
--- Code: ---{0}[u:\dev\dhcp-3.1-esv-r3] ash ./configure
System Type: os2
make[1]: Entering directory `U:/dev/dhcp-3.1-esv-r3/work.os2'
Making links in common
make[2]: Entering directory `U:/dev/dhcp-3.1-esv-r3/common'
make[2]: *** No rule to make target `links'. Stop.
make[2]: Leaving directory `U:/dev/dhcp-3.1-esv-r3/common'
make[1]: *** [links] Error 1
make[1]: Leaving directory `U:/dev/dhcp-3.1-esv-r3/work.os2'
make: *** [links] Error 2
--- End code ---
while cmd.exe gaves -
--- Code: ---[U:\dev\dhcp-3.1-esv-r3]ash ./configure
System Type: os2
make[1]: Entering directory `U:/dev/dhcp-3.1-esv-r3/work.os2'
Making links in common
make[2]: Entering directory `U:/dev/dhcp-3.1-esv-r3/work.os2/common'
make[2]: Leaving directory `U:/dev/dhcp-3.1-esv-r3/work.os2/common'
Making links in minires
make[2]: Entering directory `U:/dev/dhcp-3.1-esv-r3/work.os2/minires'
.....
--- End code ---
I do not see what problem is with 4os2 in "make[2]: *** No rule to make target `links'. Stop." If someone else like me ever uses 4os2 you like to test with cmd.exe instead. On the other hand I really want to know why it does not work/work different with 4os2. Any clues?
-------------------------------------------
20130103 EDIT:
Solved above problem. It was the line '@if not defined CDPATH set CDPATH=..;..\..;' in 4start.cmd. Changed to '@if not defined CDPATH set CDPATH=.;..;..\..;' solves the problem (.; in front). As this is also in the sample 4start.cmd.sample I think I better post it here for future reference. No clue who ever have added this to 4start.cmd....
TeLLie:
Hi Andy,
First to all the Best wishes for 2013 :)
You have in 4os2.ini this:
UnixPaths = Yes
I often use 4os2 instead of the plain cmd
Andi B.:
Elbert, I think it was me who told you that, wasn't it? ;)
Since this day I've it in my 4os2.ini too. But unfortunately dhcp behaves still different with 4os2. Maybe the ` in front of `links' is the problem...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version