Problems Compiling Xnee v3.03

View: New views
3 Messages — Rating Filter:   Alert me  

Problems Compiling Xnee v3.03

by Han Loo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings,

I am attempting to build the latest release of xnee (v3.03) on an AMD64 X2 4600+ processor running Ubuntu v8.10.

I was previously able to successfully install xnee v3.02 by executing the following commands as per the installation instructions & readme's:

./configure --enable-gnome-applet --prefix=/usr
make
sudo make install


... and I was also able to uninstall v3.02 using:

sudo make uninstall

I uninstalled v3.02 in order to update to v3.03 however when I attempt to install this latest version using the same sequence of commands (as I used for the previous version) I get the following configuration:
 
Configuration of Xnee finished
 ==============================
    PACKAGE              xnee
    VERSION              3.03
 
   Xnee Developer flags
   -------------------------------------
    VERBOSE_FLAG         -DUSE_VERBOSE
    GCOV_FLAG           
    GPROF_FLAG          
    BUF_VERBOSE_FLAG     -DNO_BUF_VERBOSE
    PEDANTIC_FLAGS      
    LIBDL               
    LIBSEMA              -lpthread
    X11_LIBS             -lX11 -lXtst
    PANEL_SERVER_DIR     ${exec_prefix}/lib/bonobo/servers
    PANEL_APPLET_DIR     ${exec_prefix}/lib/gnome-panel
    PIXMAP_DIR           pixmap
    CONVERT             
 

   Building the following components
   -------------------------------------
   
        cli
        gnee
        pnee
   Excluding the following components
   -------------------------------------
   
        doc (docs are already included in dist file)

   Static or dynamic linking for programs (true)
   -------------------------------------
        static
 
   Settings ok?



...and when I attempt a "make" I run into compilation problems.

make  all-recursive
make[1]: Entering directory `/home/hloo/Desktop/INBOX/xnee-3.03'
Making all in libxnee
make[2]: Entering directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee'
Making all in src
make[3]: Entering directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee/src'
/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..    -I../include   -g -DUSE_VERBOSE   -DNO_BUF_VERBOSE  -DHAVE_XOSD  -g -O2 -MT feedback.lo -MD -MP -MF .deps/feedback.Tpo -c -o feedback.lo feedback.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -g -DUSE_VERBOSE -DNO_BUF_VERBOSE -DHAVE_XOSD -g -O2 -MT feedback.lo -MD -MP -MF .deps/feedback.Tpo -c feedback.c  -fPIC -DPIC -o .libs/feedback.o
feedback.c: In function ‘feedback’:
feedback.c:273: error: invalid initializer
make[3]: *** [feedback.lo] Error 1
make[3]: Leaving directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hloo/Desktop/INBOX/xnee-3.03'
make: *** [all] Error 2


...and thus cannot successfully execute a "sudo make install".

Any help would be much appreciated...

Thanks!

_______________________________________________
Bug-xnee mailing list
Bug-xnee@...
http://lists.gnu.org/mailman/listinfo/bug-xnee

Re: Problems Compiling Xnee v3.03

by Henrik Sandklef-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi

Change the line libxnee/src/feedback.c line 273 to:


    va_list ap;


It's done (now) in CVS. A nightly dist (with some other fixes) will be
available in a couple of hours here:

    http://itupw056.itu.chalmers.se/xnee/nightly-dists/


/h

Han Loo wrote:

> Greetings,
>
> I am attempting to build the latest release of xnee (v3.03) on an AMD64 X2
> 4600+ processor running Ubuntu v8.10.
>
> I was previously able to successfully install xnee v3.02 by executing the
> following commands as per the installation instructions & readme's:
> *
> ./configure --enable-gnome-applet --prefix=/usr
> make
> sudo make install*
>
> ... and I was also able to uninstall v3.02 using:
>
> *sudo make uninstall*
>
> I uninstalled v3.02 in order to update to v3.03 however when I attempt to
> install this latest version using the same sequence of commands (as I used
> for the previous version) I get the following configuration:
> *
> Configuration of Xnee finished
>  ==============================
>     PACKAGE              xnee
>     VERSION              3.03
>
>    Xnee Developer flags
>    -------------------------------------
>     VERBOSE_FLAG         -DUSE_VERBOSE
>     GCOV_FLAG
>     GPROF_FLAG
>     BUF_VERBOSE_FLAG     -DNO_BUF_VERBOSE
>     PEDANTIC_FLAGS
>     LIBDL
>     LIBSEMA              -lpthread
>     X11_LIBS             -lX11 -lXtst
>     PANEL_SERVER_DIR     ${exec_prefix}/lib/bonobo/servers
>     PANEL_APPLET_DIR     ${exec_prefix}/lib/gnome-panel
>     PIXMAP_DIR           pixmap
>     CONVERT
>
>
>    Building the following components
>    -------------------------------------
>
>         cli
>         gnee
>         pnee
>    Excluding the following components
>    -------------------------------------
>
>         doc (docs are already included in dist file)
>
>    Static or dynamic linking for programs (true)
>    -------------------------------------
>         static
>
>    Settings ok?*
>
>
> ...and when I attempt a "make" I run into compilation problems.
> *
> make  all-recursive
> make[1]: Entering directory `/home/hloo/Desktop/INBOX/xnee-3.03'
> Making all in libxnee
> make[2]: Entering directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee'
> Making all in src
> make[3]: Entering directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee/src'
> /bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../..    -I../include   -g -DUSE_VERBOSE   -DNO_BUF_VERBOSE  -DHAVE_XOSD
> -g -O2 -MT feedback.lo -MD -MP -MF .deps/feedback.Tpo -c -o feedback.lo
> feedback.c
>  gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -g -DUSE_VERBOSE
> -DNO_BUF_VERBOSE -DHAVE_XOSD -g -O2 -MT feedback.lo -MD -MP -MF
> .deps/feedback.Tpo -c feedback.c  -fPIC -DPIC -o .libs/feedback.o
> feedback.c: In function ‘feedback’:
> feedback.c:273: error: invalid initializer
> make[3]: *** [feedback.lo] Error 1
> make[3]: Leaving directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/hloo/Desktop/INBOX/xnee-3.03'
> make: *** [all] Error 2*
>
> ...and thus cannot successfully execute a "sudo make install".
>
> Any help would be much appreciated...
>
> Thanks!
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bug-xnee mailing list
> Bug-xnee@...
> http://lists.gnu.org/mailman/listinfo/bug-xnee



_______________________________________________
Bug-xnee mailing list
Bug-xnee@...
http://lists.gnu.org/mailman/listinfo/bug-xnee

Re: Problems Compiling Xnee v3.03

by Han Loo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for your previous response.

With the latest dist (20090530) I am still unable to build xnee.

My installation procedure is the same as detailed in my last email. I have also attached all of the output (stdout & stderr from each respective command) to this response although I suspect the relevant output (from make-xnee-cvs-20090530.out)) is specifically:

gcc -I../include -I/include -g -g -O2 -shared -o libtest libtest.o  -L/home/hloo/Desktop/INBOX/xnee-latest/xnee-cvs-20090530/libxnee/src/.libs -L/src /home/hloo/Desktop/INBOX/xnee-latest/xnee-cvs-20090530/libxnee/src/.libs/libxnee.a -lX11 -lXtst 
/usr/bin/ld: libtest.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libtest.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libtest] Error 1

Is there an option that I need to specify in the makefile... is this problem specific to my version of Ubuntu (8.10, AMD64)?

Thanks!
Han

On Sat, May 23, 2009 at 2:31 AM, Henrik Sandklef <hesa@...> wrote:
hi

Change the line libxnee/src/feedback.c line 273 to:


  va_list ap;


It's done (now) in CVS. A nightly dist (with some other fixes) will be available in a couple of hours here:

  http://itupw056.itu.chalmers.se/xnee/nightly-dists/


/h

Han Loo wrote:
Greetings,

I am attempting to build the latest release of xnee (v3.03) on an AMD64 X2
4600+ processor running Ubuntu v8.10.

I was previously able to successfully install xnee v3.02 by executing the
following commands as per the installation instructions & readme's:
*
./configure --enable-gnome-applet --prefix=/usr
make
sudo make install*

... and I was also able to uninstall v3.02 using:

*sudo make uninstall*

I uninstalled v3.02 in order to update to v3.03 however when I attempt to
install this latest version using the same sequence of commands (as I used
for the previous version) I get the following configuration:
*
Configuration of Xnee finished
 ==============================
   PACKAGE              xnee
   VERSION              3.03

  Xnee Developer flags
  -------------------------------------
   VERBOSE_FLAG         -DUSE_VERBOSE
   GCOV_FLAG
   GPROF_FLAG
   BUF_VERBOSE_FLAG     -DNO_BUF_VERBOSE
   PEDANTIC_FLAGS
   LIBDL
   LIBSEMA              -lpthread
   X11_LIBS             -lX11 -lXtst
   PANEL_SERVER_DIR     ${exec_prefix}/lib/bonobo/servers
   PANEL_APPLET_DIR     ${exec_prefix}/lib/gnome-panel
   PIXMAP_DIR           pixmap
   CONVERT


  Building the following components
  -------------------------------------

       cli
       gnee
       pnee
  Excluding the following components
  -------------------------------------

       doc (docs are already included in dist file)

  Static or dynamic linking for programs (true)
  -------------------------------------
       static

  Settings ok?*


...and when I attempt a "make" I run into compilation problems.
*
make  all-recursive
make[1]: Entering directory `/home/hloo/Desktop/INBOX/xnee-3.03'
Making all in libxnee
make[2]: Entering directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee'
Making all in src
make[3]: Entering directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee/src'
/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../..    -I../include   -g -DUSE_VERBOSE   -DNO_BUF_VERBOSE  -DHAVE_XOSD
-g -O2 -MT feedback.lo -MD -MP -MF .deps/feedback.Tpo -c -o feedback.lo
feedback.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../include -g -DUSE_VERBOSE
-DNO_BUF_VERBOSE -DHAVE_XOSD -g -O2 -MT feedback.lo -MD -MP -MF
.deps/feedback.Tpo -c feedback.c  -fPIC -DPIC -o .libs/feedback.o
feedback.c: In function ‘feedback’:
feedback.c:273: error: invalid initializer
make[3]: *** [feedback.lo] Error 1
make[3]: Leaving directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hloo/Desktop/INBOX/xnee-3.03/libxnee'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hloo/Desktop/INBOX/xnee-3.03'
make: *** [all] Error 2*

...and thus cannot successfully execute a "sudo make install".

Any help would be much appreciated...

Thanks!



------------------------------------------------------------------------

_______________________________________________
Bug-xnee mailing list
Bug-xnee@...
http://lists.gnu.org/mailman/listinfo/bug-xnee






_______________________________________________
Bug-xnee mailing list
Bug-xnee@...
http://lists.gnu.org/mailman/listinfo/bug-xnee

configure-xnee-cvs-20090530.out (12K) Download Attachment
make-xnee-cvs-20090530.out (43K) Download Attachment
sudo-make-install-xnee-cvs-20090530.out (1K) Download Attachment