rbatten / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

compiled issue #713

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
after ./configure i do make but now i have that error:

naxil@naxil:~/homebrew/gnome-mplayer-read-only$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash 
/home/naxil/homebrew/gnome-mplayer-read-only/missing aclocal-1.13 
aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:29: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
configure.in:333: warning: macro 'AM_GCONF_SOURCE_2' not found in library
configure.in:6: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded 
from...
configure.in:6: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with

any suggestion?

Original issue reported on code.google.com by nax...@gmail.com on 13 Apr 2014 at 2:25

GoogleCodeExporter commented 8 years ago
i can compile the version 1,0.9b without problem (with lot of warnings but i 
get the ./gnome-mplayer and i have successfull install it on my system (ubuntu 
12.04 with mainstream kernel), 1,0,9b works very well
WHY i can't compile latest svn?

Original comment by nax...@gmail.com on 13 Apr 2014 at 2:28

GoogleCodeExporter commented 8 years ago
try running "autoreconf" and then run configure again.

Original comment by kdeko...@gmail.com on 16 Apr 2014 at 1:50

GoogleCodeExporter commented 8 years ago
naxil@naxil:~/homebrew/gnome-mplayer-read-only$ autoreconf
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:29: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
configure.in:333: warning: macro 'AM_GCONF_SOURCE_2' not found in library
configure.in:29: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:49: error: possibly undefined macro: AC_DEFINE
configure.in:53: error: possibly undefined macro: AC_MSG_NOTICE
configure.in:335: error: possibly undefined macro: AM_GCON

Original comment by nax...@gmail.com on 16 Apr 2014 at 6:35

GoogleCodeExporter commented 8 years ago
Me too. I can also compile 1.0.9b without any problems.

Error of latest svn version when "make" is such as;

...
gui.c: In function ‘show_fs_controls’:
gui.c:8920:9: warning: implicit declaration of function 
‘gtk_widget_set_opacity’ [-Wimplicit-function-declaration]
         gtk_widget_set_opacity(GTK_WIDGET(fs_controls), 0.75);
         ^
  CC     playlist.o
  CC     support.o
  CC     mntent_compat.o
  CC     main.o
  CC     dbus-interface.o
  CC     mpris-interface.o
  CC     database.o
  CCLD   gnome-mplayer
gui.o: In function `show_fs_controls':
gui.c:(.text+0x21d78): undefined reference to `gtk_widget_set_opacity'
collect2: error: ld returned 1 exit status
make[3]: *** [gnome-mplayer] Error 1
make[3]: Leaving directory `/usr/local/src/gnome-mplayer-read-only/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gnome-mplayer-read-only/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gnome-mplayer-read-only'
make: *** [all] Error 2

Original comment by ttnn...@gmail.com on 16 Jul 2014 at 4:55

GoogleCodeExporter commented 8 years ago
Any chance? Or a new version solve the problem?

Original comment by nax...@gmail.com on 17 Jul 2014 at 7:14

GoogleCodeExporter commented 8 years ago
Can you post the full configure so that I can see what version of GTK you are 
compiling against?

Original comment by kdeko...@gmail.com on 18 Jul 2014 at 11:27

GoogleCodeExporter commented 8 years ago
GTK 2.24.10

Original comment by ttnn...@gmail.com on 26 Jul 2014 at 12:57

GoogleCodeExporter commented 8 years ago
I just compiled the SVN and 1.0.9 code on my RHEL 6.5 machine with GTK 2.20 so 
that seems odd that it won't work on 2.24.

I just checked the code and that line you are complaining about is actually on 
line 8923 in my code. I also checked the SVN version of the 1.0.9 release and 
the code is at 8923 there as well. Suggest that you update the code. 

I also checked the GTK docs and confirmed that that method has been available 
since GTK 2.12

https://developer.gnome.org/gtk2/2.24/GtkWindow.html#gtk-window-set-opacity

So I think you have something wrong on your machine.

Original comment by kdeko...@gmail.com on 26 Jul 2014 at 8:46

GoogleCodeExporter commented 8 years ago
https://launchpad.net/~brandonsnider/+archive/ubuntu/gnome-mplayer-dev

This page also points out that,

>Update for Saucy and beyond: because of the use of gtk_widget_set_opacity,
>Gnome-Mplayer will not build on distros prior to Saucy, therefore I have 
>discontinued builds for those distros.

Any ideas?

Original comment by ttnn...@gmail.com on 29 Jul 2014 at 11:19

GoogleCodeExporter commented 8 years ago
If Brandon would build the 1.0.9 released code I think the builds would work 
correctly. He is building a test version and not a release.

Original comment by kdeko...@gmail.com on 3 Aug 2014 at 3:23