Solved

Cannot build gtk+2.0.0 on RedHat for ia64 HP Integrity rx2600

Posted on 2006-06-08
9
276 Views
Last Modified: 2010-04-20
Hey Gang,

I am trying to build gtk+2.0.0 on a RedHat ia64 HP Integrity rx2600…but cannot get it to make.  The error I get is …

gdkwindow.c: In function ‘gdk_window_real_get_depth’:
gdkwindow.c:1986: warning: implicit declaration of function ‘raise’
gdkwindow.c:1986: ‘SUGTRAP’ undeclared (first use this function)
gdkwindow.c:1986: (Each undeclared identifier is reported only once
gdkwindow.c:1986: for each function it appears in.)
make[3]: *** [gdkwindow.lo] Error 1
make[3]: Leaving directory ‘/tmp/gtk/gtk+-2.0.0.src/gdk’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory ‘/tmp/gtk/gtk+-2.0.0.src/gdk’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ‘/tmp/gtk/gtk+-2.0.0.src’
make: ** [all-recursive-am] Error 2

I am using gcc29.6, make3.80 and I have all the dependencies correctly installed.

I have also tried installing gcc4.1.1…however; I am having different build difficulties with that. (an error saying “makeinfo” is missing on the system…although it is installed as version 4.0b.)

Any suggestions to either problem?

Thanks!
M
0
Comment
Question by:Mike R.
  • 4
  • 3
9 Comments
 
LVL 3

Author Comment

by:Mike R.
Comment Utility
P.S. "SUGTRAP" is actually "SIGTRAP" (had to transcribe :-)
0
 
LVL 20

Expert Comment

by:Gns
Comment Utility
What version of RH? gcc 2.96 is pretty old... which might indicate an over all slightly out of date distro:-). If so, why not go for a "update" to a recent fedora or centos ... or somesuch:)

The first error, as well as the second, is indicative of a build system somehow damaged, or "out of date" in respect to the code you try to build.

-- Glenn
0
 
LVL 3

Author Comment

by:Mike R.
Comment Utility
Unfortunately, these are production systems for which the option of upgrading the distro is not available.  I was thinking it had something to do with the gcc being old, but I am unable to get a newer version of GCC to compile as well (see "makeinfo missing" comment above.)

Any suggestions to get this machine working would be greatly appreciated :-)

Thanks!
M
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 20

Expert Comment

by:Gns
Comment Utility
the redhat version isn't covered by fedoralegacy or somesuch? check at http://www.fedoralegacy.org

-- Glenn
0
 
LVL 3

Author Comment

by:Mike R.
Comment Utility
Hey Glenn,

OK...I did check out fedoralegacy...but I am not sure what it was I should have been looking for (the GTK software, or a Fedora OS upgrade.)  But, unfortunately, it doesn't really matter as...

Software: Although there was GCC and other software for straight I386 and 586, there appeared to be basically nothing for the ia64 platform.  So I dead ended there.

Upgrade:  If you were thinking we could not upgrade because we could not find the software, that is not it.  We cannot upgrade these systems, because we are not allowed to upgrade the systems.  The systems have been approved for this version of the OS and that's it.  It would take about 6 months to get all the paperwork and approvals to modify the OS version.

So I am basically stuck with this OS, but I still need to get the newer version of GTK (and also, if possible, GCC) installed and working.

Any other thoughts on this? :-)

Thanks!
M
0
 
LVL 20

Accepted Solution

by:
Gns earned 500 total points
Comment Utility
> Software: Although there was GCC and other software for straight I386 and 586, there appeared to be basically nothing for the ia64 platform.  So I dead ended
> there.
Yeah, brain-fade on mmy part, sorry. Simply forgot that you have an Itanic:).

> Upgrade:  If you were thinking we could not upgrade because we could not find the software, that is not it.  We cannot upgrade these systems, because we are not
> allowed to upgrade the systems.  The systems have been approved for this version of the OS and that's it.  It would take about 6 months to get all the paperwork
> and approvals to modify the OS version.
"Happy beurocrasy" to you:-). This kind of idiocy crops up from time to time, in most all organizations... A need for security gone bad, IMO;-). Oh well, I guess you just have to live with it, policy and all...

> So I am basically stuck with this OS, but I still need to get the newer version of GTK (and also, if possible, GCC) installed and working.
One thing is that changing enough for this to work can be a very invasive thing... To the point that all that is kept from the "certified" version is the actual version number as such:-).

The makeinfo thing could be a red herring... or not. Is it install in some place that is guaranteed to be in the default path? What happens if you "force" that with a symlink or somesuch?

Now, perhaps best would be to find the source for some rather stable gcc 3.x and try compile that... Not skipping too much forward... Just grab it off any ftp.gnu.org mirror (like ftp://ftp.sunet.se/pub/gnu/gcc/releases/).
See to it that you install it (and any "dependacies" or needed build tools) into a contained structure, like /opt/gnu or /usr/local ... That way, you can easily choose which toolchain is in use by simply fiddling with the PATH. I often end up doing this type of thing on most any Unix system I manage (If one is lucky, someone has already done the gruntwork, so there is a package for it:-).

Oh well, a lot of things to try, none with a promise of success at the end...:-)

-- Glenn
0
 
LVL 20

Expert Comment

by:Gns
Comment Utility
> "Happy beurocrasy"...
should read
> "Happy bureaucracy"...
and
> See to it that you install it (and any "dependacies" ...
should read
> See to it that you install it (and any "dependencies" ...

-- Glenn (a.k.a. Le Grand Typo)
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now