How to compile ICEWM 1.3.8pre1 for Puppy 5.7.1?

Booting, installing, newbie
Post Reply
Message
Author
Cadejo
Posts: 75
Joined: Tue 30 Jun 2009, 02:55

How to compile ICEWM 1.3.8pre1 for Puppy 5.7.1?

#1 Post 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!

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

bump

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

How to compile ICEWM 1.3.8pre1 for Puppy 5.7.1?

#3 Post 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
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#4 Post 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.

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

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

#5 Post 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
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

Cadejo
Posts: 75
Joined: Tue 30 Jun 2009, 02:55

#6 Post 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.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#7 Post 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 .
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

How to compile ICEWM 1.3.8pre1 for Puppy 5.7.1?

#8 Post 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
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

Post Reply