Page 1 of 1

How to compile ICEWM 1.3.8pre1 for Puppy 5.7.1?

Posted: Sun 01 Sep 2013, 05:55
by Cadejo
Team,

I'm attempting to compile the ICEWM 1.3.8pre1 package from source as it has a critical java bugfix.

I've been cranking on this one, I need some help, I get back the following error when attempting to compile

Code: Select all

# make
make[1]: Entering directory `/initrd/mnt/dev_save/Downloads/icetest/icewm-1.2/src'
  CXX      ymsgbox.o
In file included from ylib.h:9:0,
                 from ymsgbox.cc:12:
/usr/include/X11/Xlib.h:1694:1: error: ‘deprecated’ was not declared in this scope
make[1]: *** [ymsgbox.o] Error 1
make[1]: Leaving directory `/initrd/mnt/dev_save/Downloads/icetest/icewm-1.2/src'
make: *** [base] Error 2
This is beyond the scope of my skill any help would be appreciated.

Source can be found here:

http://icewm.cvs.sourceforge.net/viewvc ... 1-3-BRANCH



Thanks in advance!

Posted: Mon 09 Sep 2013, 02:24
by Flash
bump

How to compile ICEWM 1.3.8pre1 for Puppy 5.7.1?

Posted: Mon 09 Sep 2013, 03:37
by Monsie
Hi Cadejo,

Have a look at this bug report for icewm 1.3.7 The error appears to be the same as the one you are getting with make and, note the solution posted to fix this issue...

Hope this helps,
Monsie

Posted: Fri 13 Sep 2013, 13:37
by Flash
Apparently Cadejo gave up. He sent me this PM:
Cadejo wrote:Noted! FYI I compiled the ICEWM and it didn't fix the java issues. Too bad. JWM is it.

Re: How to compile ICEWM 1.3.8pre1 for Puppy 5.7.1?

Posted: Sat 14 Sep 2013, 08:23
by Monsie
Cadejo wrote:Team,

I'm attempting to compile the ICEWM 1.3.8pre1 package from source as it has a critical java bugfix.

I've been cranking on this one, I need some help, I get back the following error when attempting to compile

Code: Select all

# make
make[1]: Entering directory `/initrd/mnt/dev_save/Downloads/icetest/icewm-1.2/src'
  CXX      ymsgbox.o
In file included from ylib.h:9:0,
                 from ymsgbox.cc:12:
/usr/include/X11/Xlib.h:1694:1: error: ‘deprecated’ was not declared in this scope
make[1]: *** [ymsgbox.o] Error 1
make[1]: Leaving directory `/initrd/mnt/dev_save/Downloads/icetest/icewm-1.2/src'
make: *** [base] Error 2
This is beyond the scope of my skill any help would be appreciated.

Source can be found here:

http://icewm.cvs.sourceforge.net/viewvc ... 1-3-BRANCH



Thanks in advance!
The posted url for the source code does not seem to yield any results for me other than back to this post...

The posted code seems to suggest an earlier version of icewm is being compiled rather than version 1.3.8 whereas this latest version is supposed to patch the Java Focus issue. That said, I am unable to locate version 1.3.8 at SourceForge so am not sure where to get the latest source code, but it may be a pre-release version, so not yet generally available.

Monsie

Posted: Sat 14 Sep 2013, 09:03
by Cadejo
the whole thing is a cluster.

I was pointed to the source from this post:
http://sourceforge.net/mailarchive/foru ... cewm-devel

When/if you pull the code the version actually says

Code: Select all

PACKAGE=icewm
VERSION=1.3.8pre1
and it just annoys me that after it was installed the I got.

Code: Select all

# icewm -v
IceWM 1.3.7, Copyright 1997-2003 Marko Macek,  2001 Mathias Hasselmann
Its all just nuts. JWM is suitable and supported, I'm good.

Thank you all for your help! I hate that this turned into a rabbit hole. You guys rock.

Posted: Sat 14 Sep 2013, 20:13
by Karl Godt
Likely you would need to get newer or older development headers for

Xlib.h:1694:1: error: ‘deprecated’ was not declared in this scope

and or the headers that this header depends on .


BTW : Go to church if you need to believe everything about security . Honestly, just compile if you know what this java problem really means .

How to compile ICEWM 1.3.8pre1 for Puppy 5.7.1?

Posted: Sun 15 Sep 2013, 04:47
by Monsie
Karl Godt wrote:Likely you would need to get newer or older development headers for

Xlib.h:1694:1: error: ‘deprecated’ was not declared in this scope

and or the headers that this header depends on .


BTW : Go to church if you need to believe everything about security . Honestly, just compile if you know what this java problem really means .
Karl,

See the link that I provided in my first post. The fix requires a simple edit to one line in the header regarding the attribute.

Also, surprisingly the java bug is not a security issue in this case, but one of usability vis à vis the window manager: http://sourceforge.net/p/icewm/bugs/892/

Monsie