OS/2, eCS & ArcaOS - Technical > Applications
xsane,gimp,xfree86 and a *nix dummy
Pete:
Hi All
I am trying to get xsane working on eCS2.1
I have installed xsane-0.992-OS2.zip plus the required support packages
xfree86-4_5_0-runtime.wpi runtime package
gimp-2_2_8-install.wpi, gimp-2_2_8-required-libs.wpi and gimp-2_0_7-help.wpi gimp packages
gcc321m.zip
libsane.dll
All the above are installed to drive K: which is set as UNIXROOT with gcc321m.dll and libsane.dll being placed in K:\usr\X11R6\lib
Installation seemed to go fine so I clicked on the gimp program icon to give it a try - there are no config.sys changes so a reboot is not necessary.
The gimp icon becomes hatched, nothing happens, the icon becomes unhatched - obviously something is not working...
I tried starting gimp from the command line. This involved opening a command window in drive K:\ and running K:\x11env.cmd followed by CD'ding to \usr\bin and entering gimp-2.2.exe
This resulted in the following messages hopefully explaining what went wrong:-
[K:\usr\bin]gimp-2.2.exe
(gimp-2.2.exe:96): Gdk-WARNING **: locale not supported by Xlib
(gimp-2.2.exe:96): Gdk-WARNING **: cannot set locale modifiers
GIMP could not initialise the graphical user interface.
Make sure a proper setup for your display environment exists.
[K:\usr\bin]
I guess something is not right in the x11env.cmd created during gimp install.
Any ideas on what needs changing will be appreciated:-
@ECHO OFF
SET X11ROOT=k:
SET BEGINLIBPATH=%X11ROOT%\usr\lib;%X11ROOT%\usr\X11R6\lib;
SET PATH=%X11ROOT%\usr\bin;%X11ROOT%\usr\X11R6\bin;%PATH%
SET MANPATH=%X11ROOT%\usr\man;%X11ROOT%\usr\X11R6\man;%MANPATH%
SET LOGNAME=%USER%
SET DISPLAY=localhost:0.0
SET G_FILENAME_ENCODING=CP850
IF $%1$==$$ GOTO DONE
%1 %2 %3 %4 %5 %6 %7 %8 %9
EXIT
:DONE
Looking at the above I guess the questions are:-
1] How do I set a locale supported by Xlib
2] How do I create a "proper setup for your display environment"
Any help gratefully received :-)
Pete
Dave Yeo:
Hi Pete,
I take it that drive K: is a different partition then RPM/YUM uses? If not it will fail.
Add set LIBPATHSTRICT=T to your X11env.cmd, probably after the BEGINLIBPATH statement.
You could try set LOCALE=en_US or set LOCALE=C
And for display, set DISPLAY=127.0.0.1:0:0 or set DISPLAY=:0.0 or set DISPLAY=127.0.0.1:1.0 or set DISPLAY=:1.0, not sure which is the best for your setup.
Greggory Shaw:
It's been a long time, but if you can't get XFree86-4_5_0 working. Look at using HOBLink/2 it's much easier to setup - you will have to track down an old ecsreg.ini from eCS 1.2 though. If anyone finds this file please send it to me !
http://os2notes.net/old/os2gimp2.html
Greggory
Dave Yeo:
Actually XFree/2 won't work on eCS. I think something changed in the kernel breaking xf86sup.sys. I did manage to get it kind of working using a vnc server but it was still kind of broken, no ptty support
Alex Taylor:
The message indicates it can't find the X server. Which X server are you using? HobLink? Did you make sure it's running? Is its screen numberset to 0 to match your DISPLAY environment variable?
Navigation
[0] Message Index
[#] Next page
Go to full version