Solved

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

Posted on 2006-06-08
9
278 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.
ID: 16865474
P.S. "SUGTRAP" is actually "SIGTRAP" (had to transcribe :-)
0
 
LVL 20

Expert Comment

by:Gns
ID: 16869097
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.
ID: 16874412
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 20

Expert Comment

by:Gns
ID: 16874956
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.
ID: 16887634
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
ID: 16892863
> 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
ID: 16892921
> "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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

863 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

22 Experts available now in Live!

Get 1:1 Help Now