May 29, 2017, 05:34:58 PM

Author Topic: trouble in compling topmenu  (Read 584 times)

schiway

  • Newbie
  • *
  • Posts: 3
    • View Profile
trouble in compling topmenu
« on: January 16, 2017, 12:39:54 AM »
Hi, I am new to this exciting new project! a fan of manjaro for a while, but this arm build is really convenient for me.
but I am facing a problem that i couldn't solve myself. when i try to install topmenu using yaourt, it give me this error information as below:
Code: [Select]
configure: error: Package requirements (gtk+-x11-2.0) were not met:

Package 'egl', required by 'cairo', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build topmenu-gtk-git.
==> Restart building topmenu-gtk-git ? [y/N]
==> ----------------------------------------
==>

dodgejcr

  • Administrator
  • Full Member
  • *****
  • Posts: 150
    • View Profile
Re: trouble in compling topmenu
« Reply #1 on: January 17, 2017, 01:07:53 AM »
Hello and welcome.

I will look into this package and see about making it work on ARM and more importantly XFCE. If I can get it to build I will probably throw it in the community repo as it looks like an interesting package with proper git maintaining  so it should be easy enough to add.

I will get back to you as soon as I know more information.

Thanks,
--dodge

Strit

  • Core Team
  • Jr. Member
  • *****
  • Posts: 97
    • View Profile
    • Strits.dk
Re: trouble in compling topmenu
« Reply #2 on: January 17, 2017, 02:03:26 AM »
"mhwd" should provide EGL (libegl), but if it does not work for you, installing "mesa" should. This will uninstall "mhwd" though.
Manjaro for ARM. YAY!

schiway

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: trouble in compling topmenu
« Reply #3 on: February 05, 2017, 11:21:26 AM »
"mhwd" should provide EGL (libegl), but if it does not work for you, installing "mesa" should. This will uninstall "mhwd" though.

obviously mhwd is a essential part of Manjaro, it cannot be replaced easily.
or maybe i am too stupid to figure out, please tell me.
Thanks!

schiway

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: trouble in compling topmenu
« Reply #4 on: February 05, 2017, 11:22:45 AM »
Hello and welcome.

I will look into this package and see about making it work on ARM and more importantly XFCE. If I can get it to build I will probably throw it in the community repo as it looks like an interesting package with proper git maintaining  so it should be easy enough to add.

I will get back to you as soon as I know more information.

Thanks,
--dodge

That would be great!

dodgejcr

  • Administrator
  • Full Member
  • *****
  • Posts: 150
    • View Profile
Re: trouble in compling topmenu
« Reply #5 on: February 06, 2017, 02:26:03 PM »
I havent forgotten about this. I played with it a few times with no success and haven't had much time to look at it again. Just updating to let you know it is still on the list

Strit

  • Core Team
  • Jr. Member
  • *****
  • Posts: 97
    • View Profile
    • Strits.dk
Re: trouble in compling topmenu
« Reply #6 on: February 07, 2017, 08:01:24 AM »
Just compiled this package on my raspberry pi 3.

It seems that you need to uninstall mhwd in favour of mesa-libgl. so do this:
Code: [Select]
sudo pacman -S mesa-libgl --forceand answer yes to replace/remove mhwd.

After that is done, you can now compile topmenu-gtk-git.

MHWD is actually not really needed on Manjaro-ARM, since it mostly handles Nvidia/AMD graphics drivers, which means it does "nothing" on Manjaro-ARM. We just ship it, because it is a manjaro tool.
Manjaro for ARM. YAY!

dodgejcr

  • Administrator
  • Full Member
  • *****
  • Posts: 150
    • View Profile
Re: trouble in compling topmenu
« Reply #7 on: February 09, 2017, 09:17:11 PM »
easy enough. That was my last resort as I dont really like the idea of swapping mhwd with others but whatever works is best.

Strit is partially right about mhwd. Currently there is no real use for it however, it has been in the past few releases so that when we implement it, if we ever get around to it, it will already be installed and ready to go.

Strit

  • Core Team
  • Jr. Member
  • *****
  • Posts: 97
    • View Profile
    • Strits.dk
Re: trouble in compling topmenu
« Reply #8 on: February 10, 2017, 01:14:03 AM »
Yeah, the idea is that when mhwd finally supports USB devices, like wifi/bluetooth dongles, we would use it more and more.
Manjaro for ARM. YAY!