Opened 9 years ago

Closed 9 years ago

#12 closed defect (fixed)

cfg.sh problems

Reported by: rklipp Owned by: klipp
Priority: critical Milestone: VBox driver
Component: Common Tasks Keywords: cfg.sh
Cc:

Description

cfg.sh has problems defining the th OS (sed problem?) Looks like OS2 won't work but os2 after screwing around got through cfg.sh but then you get "Config.kmk: 170 error saying I have to update kBuild to 2577 ot newer", but then states it found kBuild 2624

Change History (6)

comment:1 Changed 9 years ago by rklipp

Milestone: SMP ModeVBox diver

comment:2 Changed 9 years ago by diver

those are all known problem. The whole configure stuff is still not finished and that's why not checked in until now.

comment:3 Changed 9 years ago by diver

as soon as #10 is fixed, all configure stuff should work.

comment:4 Changed 9 years ago by diver

Milestone: VBox diverVBox driver

Milestone renamed

comment:5 Changed 9 years ago by Valery V. Sedletski

2rklipp: At this moment the sources in Netlabs repo are 'vanilla' VBox 5.0.0 from http://virtualbox.org, and OS/2-related patches are not yet committed. Regarding the 'cfg.sh' problem -- this is not 'cfg.sh' problem, but 'configure' one. The gcc environment setting script (gccenv.cmd) sets host and target platform to 'OS2', whereas 'configure' expects 'os2', and matching strings is case-sensitive (as common in UNIX-like environments). Also, did you applied the 'configure.diff' patch to 'configure'?
The problem with version checking in Config.kmk is also known problem, you should change Config.kmk like this:

# Notify about important kBuild updates.
if $(KBUILD_VERSION_MAJOR) == 0 \

&& ( $(KBUILD_VERSION_MINOR) >= 2 \

( $(KBUILD_VERSION_MINOR) == 1 \

&& $(KBUILD_VERSION_PATCH) >= 999))

if $(KMK_REVISION) >= 2577

# 2689 vs
# OK.

else

$(error You must update kBuild! Requires kBuild revision 2577 or later, found $(KMK_REVISION) ($(KBUILD_VERSION)))

endif

else

$(error You must update kBuild! Requires 0.1.999 or later, found $(KBUILD_VERSION))

endif

And there's more changes besides this -- yes, the changes are not yet committed. Also, the newest kBuild version from Netlabs yum repo is a bit broken, so you need kBuild from VBox repo, it works.

comment:6 Changed 9 years ago by diver

Resolution: fixed
Status: newclosed

configure works with r7, see #10 for more details. I close this ticket in favor of #10.

Note: See TracTickets for help on using tickets.