Re: rlib build error

Bob Doan <[email protected]> Fri, 13 Aug 2010 17:30:31 -0400
Newsgroups gmane.text.rlib.user
Message-ID <1281735031.25011.66.camel@bobbyd>
It looks like you are missing parts of glib-2.0

Or somehow have glib1/2 crossed?



On Tue, 2010-08-10 at 15:32 +0530, Rahul Chaturvedi wrote:
> Hi,
> 
> I am trying to build rlib on slackware13 and get the following errors.
> Can some one helps me in fixing these error.
> 
> rahul@rahul_dev:~/Downloads/
> rlib/rlib$ make
> make  all-recursive
> make[1]: Entering directory `/home/rahul/Downloads/rlib/rlib'
> Making all in rpdf
> make[2]: Entering directory `/home/rahul/Downloads/rlib/rlib/rpdf'
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..    -D_GNU_SOURCE -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include     -g -O2 -MT rpdf.lo -MD -MP
> -MF .deps/rpdf.Tpo -c -o rpdf.lo rpdf.c
> mkdir .libs
>  gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -g -O2 -MT rpdf.lo -MD -MP
> -MF .deps/rpdf.Tpo -c rpdf.c  -fPIC -DPIC -o .libs/rpdf.o
> In file included from rpdf.c:40:
> /usr/include/glib-2.0/glib.h:38:27: error: glib/gbitlock.h: No such
> file or directory
> /usr/include/glib-2.0/glib.h:51:29: error: glib/ghostutils.h: No such
> file or directory
> In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
>                  from /usr/include/glib-2.0/glib.h:52,
>                  from rpdf.c:40:
> /usr/include/glib-2.0/glib/gmain.h:27:24: error: glib/gpoll.h: No such
> file or directory
> In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
>                  from /usr/include/glib-2.0/glib.h:52,
>                  from rpdf.c:40:
> /usr/include/glib-2.0/glib/gmain.h:138: error: expected declaration
> specifiers or '...' before 'GPollFD'
> /usr/include/glib-2.0/glib/gmain.h:142: error: expected declaration
> specifiers or '...' before 'GPollFD'
> /usr/include/glib-2.0/glib/gmain.h:147: error: expected declaration
> specifiers or '...' before 'GPollFunc'
> /usr/include/glib-2.0/glib/gmain.h:148: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'g_main_context_get_poll_func'
> /usr/include/glib-2.0/glib/gmain.h:153: error: expected declaration
> specifiers or '...' before 'GPollFD'
> /usr/include/glib-2.0/glib/gmain.h:156: error: expected declaration
> specifiers or '...' before 'GPollFD'
> /usr/include/glib-2.0/glib/gmain.h:214: error: expected declaration
> specifiers or '...' before 'GPollFD'
> /usr/include/glib-2.0/glib/gmain.h:216: error: expected declaration
> specifiers or '...' before 'GPollFD'
> In file included from rpdf.c:40:
> /usr/include/glib-2.0/glib.h:89:31: error: glib/gvarianttype.h: No
> such file or directory
> /usr/include/glib-2.0/glib.h:90:27: error: glib/gvariant.h: No such
> file or directory
> make[2]: *** [rpdf.lo] Error 1
> make[2]: Leaving directory `/home/rahul/Downloads/rlib/rlib/rpdf'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rahul/Downloads/rlib/rlib'
> make: *** [all] Error 2
> 
> 
> ./configure gives me these outputs
> 
> config.status: executing depfiles
> commands                                                               
> 
> rlib-1.3.8:
> 
>    prefix:                   /usr/local
>    compiler:                 gcc       
>    Memory debugging:         no        
>    Warning Fun:              no        
>    Crash detection:          yes       
>    UTF8 disabled:            yes       
>    WIN32 build:              no        
>    Documentation:            yes       
> 
>    INPUTS:
>     MYSQL:                   yes
>     POSTGRES:                yes
>     ODBC:                    no 
> 
>    COMPRESSION:
>     PDF:                     yes
> 
>    GRAPHING:
>     PDF:                     Always
>     HTML:                    yes   
> 
>    BINDINGS:
>     PHP:                     yes
>      PHP entension dir:      /usr/lib/php/extensions
>     PYTHON:                  no                     
>      PYTHON version:         2.2                    
>      PYTHON entension dir:                          
>     JAVA:                    no                     
>     CSHARP:                  no                     
>     PERL:                    yes
>      PERL entension
> dir:     /usr/lib/perl5/5.10.0/i486-linux-thread-multi
> 
>    ** If you like RLIB send a postcard from where you are in the world
> to:
>    ** Bob Doan - 4140 Skyron Drive - Doylestown - PA - 18902 - USA
> 
>    Music:                    RHCP / Virgin Radio
>    Having Problems:          rlib-users-TtF/[email protected]
>    Want To Contribute:       rlib-devel-TtF/[email protected]
>    Commercial License:       [email protected]
> 
> 
> Now type `make' to compile rlib
> 
> 
> -- 
> Thanks & Regards
> 
> Rahul
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________ Rlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rlib-users



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev