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 - Mentore

Pages: [1] 2 3 ... 12
1
Hi/2.

How about trying `-c' option like:

Code: [Select]
sh -c /usr/bin/autoreconf -sfvi

or

Code: [Select]
sh -c "/usr/bin/autoreconf -sfvi"

Auto tools scripts are not shell scripts but perl scripts in many cases.

KO Myung-Hun

Thanks for this help KO. I'll check everything asap. What puzzles me is that this behavior just started occurring on every project, suddendly, while days ago autoreconf and the other perl scripts worked correctly.

Will update asap.

Mentore

Quoting myself:

after creating a config.site file and slightly modifying my CMD settings file the result is the same - error on gawk while running config.status.

Also, if I issue autoreconf, the result is this


[D:\Sviluppo\sorgenti\tmp\cscope-15.9>]sh -c /usr/bin/autoreconf -sfvi
Can't open perl script "exe": No such file or directory


which points me really nowhere. Have to check something, or maybe the best solution is to reinstall everything.

Mentore

Bit of update: correcting SED=sed in configuration made configure work again.
It seems I need to work a little more to make autoreconf / autoconf work correctly.

Mentore

2
Hi/2.

How about trying `-c' option like:

Code: [Select]
sh -c /usr/bin/autoreconf -sfvi

or

Code: [Select]
sh -c "/usr/bin/autoreconf -sfvi"

Auto tools scripts are not shell scripts but perl scripts in many cases.

KO Myung-Hun

Thanks for this help KO. I'll check everything asap. What puzzles me is that this behavior just started occurring on every project, suddendly, while days ago autoreconf and the other perl scripts worked correctly.

Will update asap.

Mentore

Quoting myself:

after creating a config.site file and slightly modifying my CMD settings file the result is the same - error on gawk while running config.status.

Also, if I issue autoreconf, the result is this


[D:\Sviluppo\sorgenti\tmp\cscope-15.9>]sh -c /usr/bin/autoreconf -sfvi
Can't open perl script "exe": No such file or directory


which points me really nowhere. Have to check something, or maybe the best solution is to reinstall everything.

Mentore

3
Hi/2.

How about trying `-c' option like:

Code: [Select]
sh -c /usr/bin/autoreconf -sfvi

or

Code: [Select]
sh -c "/usr/bin/autoreconf -sfvi"

Auto tools scripts are not shell scripts but perl scripts in many cases.

KO Myung-Hun

Thanks for this help KO. I'll check everything asap. What puzzles me is that this behavior just started occurring on every project, suddendly, while days ago autoreconf and the other perl scripts worked correctly.

Will update asap.

Mentore

4
Replying to myself - I almost forgot what I'm using to set up my dev environment:


set LDFLAGS=-Zomf -Zhigh-mem -Zmap -Zbin-files -Zargs-wild -Zargs-resp
set CFLAGS=-O2 -g
set CXXFLAGS=-O2 -g
set LIBS=-lcx
set CC=gcc
set CXX=g++
set CPP=cpp
set CXXCPP=cpp
set LD=emxomfld
REM set AR=ar
set SED=sed
set GREP=grep
set AWK=awk
set exeext=.exe
set SH=sh.exe
set SHELL=sh.exe
set CONFIG_SHELL=sh.exe
set POSIX_SHELL=sh.exe
set MAKESHELL=sh.exe
REM set EMXSHELL=sh.exe
set PREFERABLY_POSIX_SHELL=\usr\bin\mksh
set PATH=%UNIXROOT%/usr/libexec/bin;%PATH%
mode co80,72

5
Programming / Strange autoconf / autoreconf / configure behavior
« on: May 21, 2024, 10:04:28 am »
Hi all, this is something I never saw before.

I was recently trying to port some other SDL / un*x software on OS/2, mostly emulators. Gone through an HP 48 emulator which works under SDL, but has no configure script - just configure.ac ready to be used with autoconf. But this is what I have after running it:


[D:\Sviluppo\Sorgenti\tmp\x48-master>]sh /usr/bin/autoreconf -sfvi
autoreconf.: Entering directory `.'
autoreconf.: configure.ac: not using Gettext
autoreconf.: running: aclocal  --output=aclocal.m4t
Can't open perl script "exe": No such file or directory
aclocal: error: echo failed with exit status: 2
autoreconf.: failed to run aclocal: SYS0193=0xc1: %1 non può essere eseguito in
una sessione OS/2

[D:\Sviluppo\Sorgenti\tmp\x48-master>]sh /usr/bin/autoconf
Can't open perl script "exe": No such file or directory

[D:\Sviluppo\Sorgenti\tmp\x48-master>]


I took a look at the auto* scripts and tried changing /@unixroot/usr occurrences to /usr, but no results. Of course it was a stupid attempt but the results didn't change.

Trying to port the latest version of SOX I get this at the end of the configure script:


configure.: creating ./config.status
config.status: creating Makefile
Usage: gawk [POSIX or GNU style options] -f progfile [--] file ...
Usage: gawk [POSIX or GNU style options] [--] 'program' file ...
POSIX options:          GNU long options: (standard)
        -f progfile             --file=progfile
        -F fs                   --field-separator=fs
        -v var=val              --assign=var=val
Short options:          GNU long options: (extensions)
        -b                      --characters-as-bytes
        -c                      --traditional
        -C                      --copyright
        -d[file]                --dump-variables[=file]
        -e 'program-text'       --source='program-text'
        -E file                 --exec=file
        -g                      --gen-pot
        -h                      --help
        -L [fatal]              --lint[=fatal]
        -n                      --non-decimal-data
        -N                      --use-lc-numeric
        -O                      --optimize
        -p[file]                --profile[=file]
        -P                      --posix
        -r                      --re-interval
        -S                      --sandbox
        -t                      --lint-old
        -V                      --version

To report bugs, see node `Bugs' in `gawk.info', which is
section `Reporting Problems and Bugs' in the printed version.

gawk is a pattern scanning and processing language.
By default it reads standard input and writes standard output.

Examples:
        gawk '{ sum += $1 }; END { print sum }' file
        gawk -F: '{ print $1 }' /etc/passwd
sed: couldn't write 34 items to stdout: Invalid argument
config.status: error: could not create Makefile


Another project - FUSE 1.6 for SDL. I'd really love to get one of the best ZX Spectrum emulators under OS/2, but I get the same result.
I already ported some other programs simply tweaking their makefile, so I am rather sure GCC and its companions work well. I can't for the life of me figure what happened, since I didn't tamper with /usr/bin (I seem to remember substituting clean.exe with another exe, but can't remember when).

Is there anyone who can hint me on what to do? Upgrading the auto* tools would be a good idea, can I find them on ANPM?

Thanks in advance,
Mentore


6
General Discussion / Re: Chuck McKinnis Passed Away
« on: May 21, 2024, 08:01:08 am »
My bad, Roderick. Indeed I confused Scott with Chuck.
Nonetheless, Chuck was really the kind person I remember from usenet and forums.

Mentore

7
General Discussion / Re: Chuck McKinnis Passed Away
« on: May 20, 2024, 08:27:07 am »
Sorry to hear this Martin - Chuck was a big booster of OS/2. Thanks for letting us know.

Regards,

I remember him being always polite, helpful and willingful, even in the last days when the kernel development was actually shut down.
He just went and fixed things. Always present at comp.os.os2.*.

A huge loss for the community.

Mentore

8
Utilities / Re: K File Wizard
« on: May 15, 2024, 07:59:18 am »
K File Wizard is a file manager for OS/2 integrating file operations of both the local and the remote support FTP and SFTP. K File Wizard was written by KO Myung-Hun.

I downloaded it from HobbesArchive, but when I try to run it, I get the following error:

SYS0002: The system cannot find the file specified. "KCRYPTO"

Does anyone know where kcrypto.dll can be found?

I was under the impression it could be found in OpenSSL, but I just downloaded the latest one from Netlabs RPM archive and didn't find it. Which is strange, since I saw it under KO Myung Hun's Github tree for OpenSSL.
Maybe the best thing to do is to ping our beloved developer  8)

Mentore

9
Programming / Re: libALSA?
« on: April 30, 2024, 10:11:26 am »
You will have to implement the audio yourself, e.g. you could use KAI.

I was thinking about something like that. BTW the emulator works perfectly, so I'll probably upload it without sound support.
Mentore

10
Programming / libALSA?
« on: April 30, 2024, 09:17:40 am »
Hello all,
I finally managed in setting up some projects on OS/2 - mainly focusing on emulatio.
As it seems, I have a QL Emulator under SDL/2 working - never happened before (there was UQLX but needed X11 and I never saw a working copy).

Now for the difficult part:
I'm working on a newer release of FBZX, a ZX Spectrum emulator I already ported before. It uses libpulse, OSS or libALSA for sound - and we don't have any of them.
As UNIAUD is based on ALSA, I'm wondering how difficult it may be to port libalsa under OS/2.
Thoughts, anyone? I'm pulling it from github right now.

Mentore

11
Internet / Re: Tried Browservice ?
« on: April 23, 2024, 08:10:37 am »
It works great..  Can use all the Office 365 web apps in it just fine and anything else I've been able to throw at it.

-m

I think I'll give it a try, even though I really want a modern OS/2 browser.
Mentore

12
Applications / Re: LarsenCommander - new test version
« on: April 22, 2024, 08:26:44 am »
I've just uploaded v1.08.02 at https://sourceforge.net/projects/lcmd-git/files/

From the Readme -
Code: [Select]
Change History:
---------------
20240416 v1.8.2
- Improve EA handling routines to reduce memory leaks and silent crashes
- Fix TRAP 000e in JFS while copying >69000 files. Hint, please use latest ArcaOS (kernel, JFS, ACPI 3.23.17, ...)
- Removed gl16os2.dll dependency (link .obj into .exe)
- Handel out of memory conditions more gracefully
- Added abtrace for logging via pmprintf.dll (if available on target system)
- Improved build cmd files to break on error (ERRORLEVEL handling)
- Tuneed lxlite options to not remove bldlevel info
- Change to David G. icon files (no clue where they are used)
- Again tuning of dynamic copy buffer size adoption (even more speed on my system :-) )
- Change icons to the ones supplied by David G. Thanks for that although it's not clear to me where they are used.
(- Disable integrated exception handlers in favor of exceptq) reverted back
- Disabled ExceptQ handler as I can't get it to work in conjunction with lcmds own handlers

Bug reports please here - https://sourceforge.net/p/lcmd-git/tickets/

Of course I'll keep reading here as well from time to time. Have fun.

Btw. I've a really hard time to track down and reduce this terrible JFS traps when copying a lot of files. It seems to me that JFS still does not touch some memory pages when feed with >4k buffers some times which I guess leads to these 000e traps. Combined with the memory leaks which LCMD suffered when lot of files where copied I had uncountable crashes with long chkdsks afterwards. Now the I reduced memory need for extended attribute handling I can't see these memory leaks anymore with above512. But on some scenarios LCMD still seems to eat up some system resources which report out of memory. Closing LCMD will recover from such situations now.

If you encounter hangs of LCMD you may look at the lcmd.log file in the directory of lcmd.exe. F.i. tail -n 50 lcmd.log will show you the last messages which usually shows some exception infos. For this you've to enable 'Debug' or 'Test' in Help - Debug - Options. Be aware running LCMD with 'Debug' for a long time or while copying huge amount of files let lcmd.log become very big in minutes.

Btw. if you've pmprintf.dll on your system PmPrintf.exe will show you these messages from LCMD with 'Debug' or 'Test' enabled too.

Downloading right now, I use LCMD all the time.
Should I notice some bug, I'll report it ASAP.
Thanks a lot Andi!

Mentore

13
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 10, 2024, 11:45:51 am »
What error message do the compilers give you?

It's not a compiler error, instead it's configure complaining that the compiler found "can't produce executables". If I set the environment variables without double quotes everything works perfectly (I just finished libfftw-3.3.10).

But, if I don't use double quotes, I can't put -march or -mtune in a CMD file or a shell script.

Mentore

14
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 10, 2024, 11:11:56 am »
This thread is immensely useful and a great complement (or replacement) to BitWise Works wiki page on how to build qt5 (https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt)

Considering there's an official developer page through EDM2, perhaps the very first article should be "how to get started", with this information? Also, should anyone have a script to automate some of this yak shaving setup, it could reduce the friction that many hobbyist developers have to face when approaching OS/2 development...

Hi,
If I'm not wrong most of it is already covered in some other places of these forums. Yet I must say I'm doing much research (in my almost zero spare time) to try and get up-and-running in as few steps as possible.

I'll try to gather and organize as much information as possible and try to contribute to what has already been written. Ad EDM/2 column would be really useful (provided it doesn't already exist!).

Mentore

Quoting myself because I came across an interesting problem.
If I try to set variables like CFLAGS like this

Code: [Select]
set CFLAGS=-O2 -g

configure and autoreconf work correctly. But I can't set options like -march or -mtune. If I try to set these in double quotes as in

Code: [Select]
set CFLAGS="-O2 -g -march=generic"

even after autoreconf, configure fails giving me troubles in gcc, gxx and cpp - even if I tweak the script.
How can I include -march / -mtune and similar options?
This happens also if I try to use export directive in a shell script...

Mentore

15
Programming / Re: ArcaOS - Recreate a complete build environment?
« on: April 10, 2024, 08:08:09 am »
This thread is immensely useful and a great complement (or replacement) to BitWise Works wiki page on how to build qt5 (https://github.com/bitwiseworks/qt5-os2/wiki/Developers#building-qt)

Considering there's an official developer page through EDM2, perhaps the very first article should be "how to get started", with this information? Also, should anyone have a script to automate some of this yak shaving setup, it could reduce the friction that many hobbyist developers have to face when approaching OS/2 development...

Hi,
If I'm not wrong most of it is already covered in some other places of these forums. Yet I must say I'm doing much research (in my almost zero spare time) to try and get up-and-running in as few steps as possible.

I'll try to gather and organize as much information as possible and try to contribute to what has already been written. Ad EDM/2 column would be really useful (provided it doesn't already exist!).

Mentore

Pages: [1] 2 3 ... 12