Re: [Sawfish] Sawfish Pager fails to compile on Ubuntu 12.10 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
If somebody cares, the difference between the Makefiles is attached
(new Makefile on the right). Not sure what to think of that, though.
On Tue, 6 Aug 2013 10:58:39 +0200
"Robert 'Bobby' Zenz" <Robert.Zenz@xxxxxxxxxxxxxx> wrote:
> I just tried again and ran
>
> ./configure again
>
> and suddenly it works...that's weird. I can only imagine that I
> installed some missing dependencies but did not run configure again...
>
> On Wed, 22 May 2013 11:02:01 +0200
> "Robert 'Bobby' Zenz" <Robert.Zenz@xxxxxxxxxxxxxx> wrote:
>
> > Hello everyone.
> >
> > The Pager fails to compile for me on Ubuntu 12.10 with a non-logical
> > problem, it reports the following:
> >
> > sawfishpager.c:(.text+0x19): undefined reference to `gtk_init'
> >
> > and more such errors (see attachment make.log).
> >
> > If I try to run the compilation manually with the following command:
> >
> > gcc sawfishpager.c -o test `pkg-config --cflags --libs gtk+-2.0`
> >
> > it does not output those errors (see attachment gcc.log). So I think
> > there's something wrong with the make file, like parameters are the
> > wrong order or missing...I tried to figure that out myself but did
> > not find anything.
> >
> > Can somebody look into this who actually knows how the make file
> > works?
> >
> > Best Greetings,
> > Bobby
>
27c27,28
< LDFLAGS = -Wl,-rpath /usr/local/lib/rep/sawfish /usr/local/lib/rep/sawfish/client.so -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -pthread -L/usr/local/lib -lX11 -lgdk_pixbuf_xlib-2.0 -lrep -lcrypt -lgmp -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 -lrt -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -pthread -lgdk_pixbuf_xlib-2.0 -lgmodule-2.0 -lrt -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
---
> LDFLAGS = -Wl,-rpath /usr/local/lib/rep/sawfish
> LDLIBS = /usr/local/lib/rep/sawfish/client.so -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -pthread -L/usr/local/lib -lX11 -lgdk_pixbuf_xlib-2.0 -lrep -lcrypt -lgmp -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 -lrt -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -pthread -lgdk_pixbuf_xlib-2.0 -lgmodule-2.0 -lrt -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0