WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Compiling OpenBox fails on TC 6.0 x86  (Read 3071 times)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Compiling OpenBox fails on TC 6.0 x86
« on: January 18, 2015, 09:07:34 AM »
I'm trying to build OpenBox on TC 6.0 32bit.

Code: [Select]
./configure --prefix=/usr/local --sysconfdir=/etc --disable-nls

'make' fails and gives the following error message:
Code: [Select]
  ...
  CC     obrender/obrender_libobrender_la-render.lo
  CC     obrender/obrender_libobrender_la-theme.lo
  CCLD   obrender/libobrender.la
/usr/local/bin/sed: can't read /usr/lib/libXext.la: No such file or directory
libtool: link: `/usr/lib/libXext.la' is not a valid libtool archive
Makefile:1256: recipe for target 'obrender/libobrender.la' failed
make[1]: *** [obrender/libobrender.la] Error 1
make[1]: Leaving directory '/tmp/openbox-3.5.2'
Makefile:3771: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

libXext.la  is not in  /usr/lib/  but in   /usr/local/lib/ .
I tried setting several variables such as  LDFLAGS , LIBS , USRLIBS , PKG_CONFIG_PATH  to include  /usr/local/lib/ , hoping I could do it correctly just by chance. (;
But no.

Any hints?
Thanks.
Download a copy and keep it handy: Core book ;)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compiling OpenBox fails on TC 6.0 x86
« Reply #1 on: January 18, 2015, 10:49:38 AM »
Copy or symlink from /usr/local/lib to /usr/lib
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Compiling OpenBox fails on TC 6.0 x86
« Reply #2 on: January 18, 2015, 01:03:25 PM »
That did the trick. Thanks, bmarkus!

But I'm wondering, is that the usual or proper way to go?
On TinyCore all the mess is gone after rebooting while on other distros I'd had to clean up manually.

--

BTW, the reason I wanted to rebuild Openbox is that some apps (firefox) don't have icons in window titlebar and taskbar and  /tmp/wm_errors  gets kinda dirty and keeps growing:
Code: [Select]
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_free_image();

With the parameter:

image

being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_free_image();

With the parameter:

image

being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_free_image();

With the parameter:

image

being NULL. Please fix your program.

(openbox:8087): GLib-CRITICAL **: Source ID 8 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 31 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 70 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 74 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 95 was not found when attempting to remove it
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_free_image();

With the parameter:

image

being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_free_image();

With the parameter:

image

being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_free_image();

With the parameter:

image

being NULL. Please fix your program.

(openbox:8087): GLib-CRITICAL **: Source ID 106 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 128 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 138 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 99 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 160 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 161 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 165 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 166 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 169 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 170 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 172 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 174 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 173 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 176 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 175 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 188 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 199 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 257 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 178 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 275 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 282 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 293 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 305 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 310 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 315 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 326 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 336 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 342 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 345 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 355 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 362 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 375 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 381 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 392 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 406 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 442 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 449 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 463 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 471 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 480 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 492 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 507 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 531 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 538 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 565 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 572 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 600 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 608 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 621 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 629 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 635 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 645 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 653 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 661 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 664 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 673 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 687 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 702 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 708 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 722 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 729 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 736 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 759 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 771 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 776 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 784 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 795 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 806 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 816 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 846 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 870 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 876 was not found when attempting to remove it

(openbox:8087): GLib-CRITICAL **: Source ID 895 was not found when attempting to remove it

Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Compiling OpenBox fails on TC 6.0 x86
« Reply #3 on: January 19, 2015, 06:28:06 AM »
The problem looks to have been in imlib2-dev, adjusted extension posted.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Compiling OpenBox fails on TC 6.0 x86
« Reply #4 on: January 19, 2015, 08:57:45 AM »
Updated imlib2-dev and rebuilt openbox but nothing changed apparently.
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Compiling OpenBox fails on TC 6.0 x86
« Reply #5 on: January 19, 2015, 08:59:11 AM »
odd - I tested the rebuilt extension by compiling openbox and everything worked fine...

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Compiling OpenBox fails on TC 6.0 x86
« Reply #6 on: January 22, 2015, 10:54:49 AM »
Aha! I had to load  shared-mime-info.tcz  to get icons (for gtk apps?) in tint2 and Openbox.
This doesn't stop Openbox from spamming GLib-CRITICAL complains in wm_errors, though.

Icons for FLTK apps or Aterm never showed up in the *boxes so I guess this is "normal", unfortunately(?).
Download a copy and keep it handy: Core book ;)