Problem's compiling Glib


 
Thread Tools Search this Thread
Operating Systems Solaris Problem's compiling Glib
# 1  
Old 01-17-2007
Problem's compiling Glib

Hello, I am trying to install glib on my development box - with little/no luck. Below are some details of the box:

SunOS 5.8 Generic_117350-38 sun4u sparc SUNW,Ultra-Enterprise
gcc version 2.95.2 19991024 (release)
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Glib version: glib-2.12.8

I am trying to install it in my home directory (to /gp1/dev/mj_dsup/usr) so I do:

./configure --prefix=/gp1/dev/mj_dsup/usr
make
make install

(Note: I have tried adding --exec-prefix=/gp1/dev/mj_dsup/usr but this only seemed to affect the default directory it (repeatedly!) prompts me for on make install)

For the purpose of this post I piped the make install output to a file, this means its cut out all the prompts form the file (not sure why).

If I am missing any key data from the post please ask and I will be all to happy to provide it.

Below is where the compile bombs out. For completness here is a link to a copy of the make install output (warning 2.5mb - ouch).

http://www.megaupload.com/?d=5ZI6Y7HH

(cd /gp1/dev/mj_dsup/usr/usr/lib && { ln -s -f libglib-2.0.so.0.1200.8 libglib-2.0.so.0 || { rm -f libglib-2.0.so.0 && ln -s libglib-2.0.so.0.1200.8 libglib-2.0.so.0; }; })
(cd /gp1/dev/mj_dsup/usr/usr/lib && { ln -s -f libglib-2.0.so.0.1200.8 libglib-2.0.so || { rm -f libglib-2.0.so && ln -s libglib-2.0.so.0.1200.8 libglib-2.0.so; }; })
chmod +x /gp1/dev/mj_dsup/usr/usr/lib/libglib-2.0.so.0.1200.8
chmod: WARNING: can't access /gp1/dev/mj_dsup/usr/usr/lib/libglib-2.0.so.0.1200.8
make[5]: Leaving directory `/gp1/dev/mj_dsup/usr/src/glib-2.12.8/glib'
make[5]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory `/gp1/dev/mj_dsup/usr/src/glib-2.12.8/glib'
make[4]: *** [install-am] Error 2
make[3]: Leaving directory `/gp1/dev/mj_dsup/usr/src/glib-2.12.8/glib'
make[3]: *** [install-recursive] Error 1
make[2]: Leaving directory `/gp1/dev/mj_dsup/usr/src/glib-2.12.8/glib'
make[2]: *** [install] Error 2
make[1]: Leaving directory `/gp1/dev/mj_dsup/usr/src/glib-2.12.8'
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
# 2  
Old 01-17-2007
So in order to get around the previous problem:
chmod +x /gp1/dev/mj_dsup/usr/usr/lib/libglib-2.0.so.0.1200.8
chmod: WARNING: can't access /gp1/dev/mj_dsup/usr/usr/lib/libglib-2.0.so.0.1200.8

I copied the file from the directory make puts it in:
cp /gp1/dev/mj_dsup/usr/usr/.libs/libglib-2.0.so.0.1200.8 /gp1/dev/mj_dsup/usr/usr/src/lib/

Then reran "make install". (Note: I've tried starting again and copying it before running make install but it hasnt helped.)

Now the make install process loops loads, asking "Where should the software be installed" lots and lots. To which I respond "/gp1/dev/mj_dsup/usr", as i specified in the configure --prefix. (This prompting doesnt show in the output file I link later but it asks after saying "*** INSTALLATION HAD FAILURES ***").

Scolling through the output it seems to be running the same things over and over!

Please help!
Matt Jordan
# 3  
Old 01-25-2007
I'm still stuck on this, if anyone can help it would be GREATLY appreciated Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Compiling problem - AIX 7.2

Hi We meet errors while running configuration scripts to prepare compiling source code on AIX 7.2. This error does not happen on AIX5.3 and AIX6.1 With the “/usr/bin/sh” from AIX7.2, sometimes , the script runs sucessfully, sometimes not. It’s unstable, and I don’t know why. When... (10 Replies)
Discussion started by: bobochacha29
10 Replies

2. UNIX for Advanced & Expert Users

Problem compiling glib using static zlib

Hello I have been trying to compile glib 2.28 with needs Zlib. During the compilation process I received these messages Then giving a look at the configure of Zlib, there was an option to static link it and I obviously used it. So I think I can solve it by compiling a shared zlib, or by... (4 Replies)
Discussion started by: colt
4 Replies

3. Debian

Program compile problem (glib pkg-config)

I need to compile a program which uses glib-2.0. I installed the package libglib2.0-0 but the configure script can't find it because the libglib package doesn't provide a .pc file which pkg-config looks for. How can I resolve this? Debian 6.0 (SPARC) (3 Replies)
Discussion started by: snorkack59
3 Replies

4. Programming

Library problem - not compiling in c

Ok I was trying to test if I installed correctly gsl, I followed the INSTALL file and still I don't know what is wrong. Here is a sample code to test gel,I got it from Random Number Generator Examples - GNU Scientific Library -- Reference Manual (note: made a few changes in the code) #include... (2 Replies)
Discussion started by: joseamck
2 Replies

5. UNIX for Dummies Questions & Answers

Compiling samba problem

People i download the lastest version of samba i`am tryng to compile it in a solaris 9 i'm reading the how to of samba, i am in the first step making the autogen.sh but show me this when i do ./autogen.sh ./autogen.sh: running script/mkversion.sh ./script/mkversion.sh: 'include/version.h'... (0 Replies)
Discussion started by: enkei17
0 Replies

6. HP-UX

Problem in HP-UX compiling

Hi When im trying to do make --version and make --help in HP-UX it throws error Make: Unknown flag argument -. Stop. a soft link is present in this directory /usr/bin/make and hard link is in /usr/ccs/bin/make what could be the reason can any1 ..please tell me how to solve this... (1 Reply)
Discussion started by: vasanthan
1 Replies

7. Programming

Problem with Compiling C on Tiger

I've downloaded Xcode and i've done : which "gcc" which "ggc-4.0" and which "c99" all were found in /usr/bin/ however with the script #include <stdio.h> main() { printf("hello, world\n"); } and when I, in command line use the command while in my home dir: gcc cprog.c -o cprog (4 Replies)
Discussion started by: cleansing_flame
4 Replies

8. Programming

Problem compiling program

hi i am having a problem that when ever i use cc program_name.c to compile a program. an error occurs, showing cc not found. please help. (28 Replies)
Discussion started by: rochitsharma
28 Replies

9. Solaris

Compiling problem

I'm trying to install the jed text editor on a SunOS 5.10 box. It depends on the s-lang library, which I installed to ~/lib. I'm trying to install jed to ~/jed (it's a box @ my university, so I don't have rights to install globally), but when I run make I get this error: It looks like it... (1 Reply)
Discussion started by: iandunn
1 Replies

10. Programming

Problem compiling metamail

Hi Guys. I have downloaded metamail from internet e Iīm trying to compile it at a SCO 5.0.5. In this server itīs working fine (letīs name it as mission1) iīm using the developer package in this server (mission1) and when I use mailto, i got the e-mail fine. Itīs forwarding to a exchange server... (2 Replies)
Discussion started by: ahnishimi
2 Replies
Login or Register to Ask a Question