11a98
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
hallo.
How can I install gtk2 development headers from ports? They are needed to build pidgin, but I can't find them in ports! ACTION: Code:
: cd /usr/ports/net-im/pidgin : sudo make install clean ERROR: Code:
checking for GTK... no no configure: error: You must have GTK+ 2.10.0 or newer development headers installed to compile Pidgin. If you want to build only Finch then specify --disable-gtkui when running configure. ===> Script "configure" failed unexpectedly. Please report the problem to marcus@FreeBSD.org [maintainer] and attach the "/usr/ports/net-im/pidgin/work/pidgin-2.10.6/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/sbin/pkg_info -Ea). *** [do-configure] Error code 1 Stop in /usr/ports/net-im/pidgin. *** [install] Error code 1 Stop in /usr/ports/net-im/pidgin. Last edited by freemason; September 21st, 2012 at 17:54. |
|
#2
|
|||
|
|||
|
cd to usr/ports and then
Code:
#make search name=gtk | more Code:
#make search key=gtk | more if you have already installed and configured sudo, place "sudo" before any of those 2 commands to avoid use root account(isn't safe to use root everyday). every port has a directory in ports tree. find the port that you need, cd to that directory and type "make install". some ports have huge dependence lists, so you can pre-configure them with "make config-recursive" and save tons of time, ensure that your configs aren't broken. it's hihgly recommended to update ports tree, use portsnap(read man) or cvsup. avoid to use packages with ports mixed. |
|
#3
|
||||
|
||||
|
Are there any options in /etc/make.conf that might interfere?
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#4
|
|||
|
|||
|
You mean one of these?
Code:
WITH_KMS="YES" WITH_NEW_XORG="YES" KERNCONF=LITE WITHOUT_MODULES="netgraph" CPUTYPE?=core2 CFLAGS= -O2 -fno-strict-aliasing -pipe MAKE_SHELL?=sh COPTFLAGS= -O -pipe PERL_VERSION=5.14.2 |
|
#5
|
||||
|
||||
|
Yep.
Quote:
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#6
|
|||
|
|||
|
Compile options are not the cause of my problem.
Once again, after cleaning up (doing sudo make clean in the /usr/ports) the whole ports tree (and removing unused dependencies from already installed packages with pkg_cutleaves) I can't build any port that uses GLIB/GTK2 headers to compile. For example, now I'm trying to build package for gmrun to install it, but it cannot locate glib/gtk2 development headers and so gives lots of errors and doesn't build properly. I'm lost somewhere. Please help |
|
#7
|
|||
|
|||
|
re-install both gtk2 and glib2 - if you have those installed, the headers should be as well.. if not, then your installations of them are corrupt. FreeBSD does not separate headers from libraries..
|
|
#8
|
||||
|
||||
|
Changing settings from defaults without good reason to do so can cause that. CFLAGS are a known source of problems. I'm also curious about MAKE_SHELL. Why change that?
|
|
#9
|
|||
|
|||
|
now I'll wipe the ports tree and begin a new life
MAKE_SHELL was written here before. I didn't touch it. Also, glib and gtk headers are in the place, but are not seen by ports... Last edited by freemason; September 22nd, 2012 at 21:19. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] freebsd-update cleanup? | Dru | Installing & Upgrading | 0 | January 5th, 2012 22:09 |
| webkit-gtk2 build failure | fmw | Installation and Maintenance of FreeBSD Ports or Packages | 1 | December 19th, 2010 20:59 |
| How to build X11 apps binary all *bsd compatible? | Lomik | Userland Programming & Scripting | 8 | December 4th, 2009 13:54 |
| Dependency cleanup | dbi | Installation and Maintenance of FreeBSD Ports or Packages | 3 | May 13th, 2009 00:10 |
| code cleanup | aavzz | FreeBSD Development | 1 | May 9th, 2009 13:49 |