Configure Error Unable To Find Pygobject Codegen
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Install python, pygtk in user's space up vote 1 down vote favorite I am trying to install python with pygtk in my ubuntu system. I don't have root access so I need to install all the packages locally say /home/user/local/lib I am able to install python, but I am not able to link other packages(pygobject, pygtk, etc) to the locally installed python. And if I try to install pygtk locally using the command ./configure --prefix=/home/shrihari/local/lib/pygtk2.24/ It gives the following error checking for GLIB - version >= 2.8.0... yes (version 2.28.6) checking for PYGOBJECT... yes checking for gio-types.defs... no checking for ATK... yes checking for PANGO... yes checking for codegen... configure: error: unable to find PyGObject codegen My default python version is python2.4. If I try to import pygtk in python2.4 it works fine but i need pygtk in python2.7. So how can I achieve this? If there is any good documentation available for installing python, pygtk, pygobject locally in user space please share. Thanks in advance python linux pygtk ubuntu-11.04 share|improve this question edited Mar 11 '14 at 12:12 asked Mar 11 '14 at 11:41 user2109788 13917 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote In general, to be able to link a build to something already installed, you need to have set up the LD_LIBRARY_PATH and (for Python modules) PYTHONPATH to the directories where you have installed that "something". So in this example, if you install Python 2.7 w
Support Search GitHub This repository Watch 1,059 Star 29,551 Fork 14,128 Homebrew/legacy-homebrew Code Issues 1 Pull requests 1 Projects 0 Pulse Graphs pygtksourceview failed to build on 10.8.5 #25150 Closed sandover opened this Issue Dec 11, 2013 · 7 comments Projects None yet Labels user configuration Milestone No milestone Assignees No one assigned 6 participants sandover commented Dec 11, 2013 gist: https://gist.github.com/anonymous/7917546 mistydemeo commented Dec 11, 2013 Looks like the issue is that it can't find codegen from pygtk. Do you have a codegen tool on your http://stackoverflow.com/questions/22324680/install-python-pygtk-in-users-space system, for example in /usr/local/bin/codegen or /usr/local/share/python/codegen? adamv commented Dec 17, 2013 Closing due to no response. adamv closed this Dec 17, 2013 sandover commented Dec 21, 2013 Been travelling. There's no codegen on my (OS X 10.8.5) system. Here's a different version of the same error (from brew install pygtksourceview) ==> ./configure --prefix=/usr/local/Cellar/pygtksourceview/2.10.0 --disable-docs checking for PYGOBJECT... yes checking for PYGTKSOURCEVIEW... yes https://github.com/Homebrew/legacy-homebrew/issues/25150 checking for pygtk codegen... /usr/local/Cellar/pygtk/2.24.0/share/pygobject/2.0/codegen no configure: error: Error: codegen not found (should be shipped with pygtk!) My system does have /usr/local/bin/pygtk-codegen-2.0, but here's what happens when I run it. » pygtk-codegen-2.0 note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead note: I will now try to invoke pygobject-codegen-2.0 in the same directory /usr/local/bin/pygtk-codegen-2.0: line 10: /usr/local/Cellar/pygtk/2.24.0/bin/pygobject-codegen-2.0: No such file or directory /usr/local/bin/pygtk-codegen-2.0: line 10: exec: /usr/local/Cellar/pygtk/2.24.0/bin/pygobject-codegen-2.0: cannot execute: No such file or directory maradatscha commented Jan 9, 2014 I had the same issue, I fixed it by doing a clean install of pygtk: brew rm pygtk brew install pygtksourceview sandover commented Jan 13, 2014 The clean install approach worked for me as well. Thanks for the tip. davilima6 commented Jan 15, 2014 Clean install also made this customer happy. Thx! ifnull commented Aug 27, 2014 Clean install did not work for me. I had to relink pygobject as well. brew unlink pygobject && brew link pygobject xu-cheng locked and limited conversation to collaborators Feb 17, 2016 Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in. Contact GitHub API Training
sans réponse Planet Annonce Ubuntu-fr.org recrute toujours de nouveaux modérateurs, avec de l'expérience. Ubuntu 16.04 LTSCommandez vos DVD et clés USB Ubuntu-fr ! Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case Me connecter automatiquement http://forum.ubuntu-fr.org/viewtopic.php?id=345889 lors de mes prochaines visites. Accueil »Forum »Archives »configure: error: unable to find PyGObject codegen Pages: 1 #1 Le 25/09/2009, à 21:57 Dr_Click configure: error: unable to find PyGObject codegen Bonjour,Je suis en train de http://python.6.x6.nabble.com/Fwd-install-proplem-td1947463.html tenter d'installer Internet DJ Console qui me sera utile pour faire une petite webradio. Mais au moment de faire le ./configure avec les sources, la console m'annonce qu'il me manque PYGTK :checking for MP4Read in configure error -lmp4v2... no configure: WARNING: IDJC will be built without mp4/m4a support checking for SPEEX... no ./configure: line 6045: ,: command not found configure: WARNING: IDJC will be built without speex support checking for PYGTK... configure: error: Package requirements (pygtk-2.0 >= 2.6.0) were not met: No package 'pygtk-2.0' 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 PYGTK_CFLAGS and configure error unable PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.Bête et méchant, je suis allé sur le site de PyGTK, j'ai téléchargé la source en tar.gz et j'essaye de faire un ./configure avec ce pyGTK comme c'est indiqué dans le fichier d'installation. Et là, après un moment (et pas mal de lignes affichées), il me marque : checking for codegen... configure: error: unable to find PyGObject codegenJusqu'ici, j'avais réussi à résoudre les différentes erreurs en tentant de deviner quel paquet lui manquait pour qu'il fasse ce foutu ./configure mais là, je ne trouve rien...So... Help !!!! Dernière modification par Dr_Click (Le 25/09/2009, à 21:59) Hors ligne #2 Le 25/09/2009, à 23:39 Dr_Click Re: configure: error: unable to find PyGObject codegen Alors, j'avance...Sur le site de téléchargement de PyGTK, j'ai trouvé un lien pour télécharger le fameux pygobject. On en est donc au troisième sous-programme nécessaire pour essayer de faire un ./configure du premier programme... Le ./configure de du tar.gz de pygobject fonctionne et il me marque justelibffi support: noà la fin.Mais quand je fais un "make", ça commence bien puis ça me met :make all-recursive make[1]: entrant dans le répertoire « /home/drclick/Bureau/pygobject-2.20.0 » Making all in docs make[2]: entrant dans le répertoire « /home/drclick/Bureau/py
Villar Burke (Pachi) Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ [Fwd: install proplem] Hi guys, I"m trying to install pygtk-2.15.0 but got this error: ... checking for ATK... yes checking for PANGO... yes checking for codegen... /opt/local/share/pygobject/2.0/codegen checking for PYCAIRO... no no not checking for gtk due to missing pycairo checking for GDK target... (unknown) configure: WARNING: unable to determine the GDK target system; some functions may not be available configure: WARNING: Could not find a valid numpy installation, disabling. checking whether gcc understands -Wall... yes checking whether gcc understands -fno-strict-aliasing... yes checking whether gcc understands -std=c9x... yes configure: error: conditional "HAVE_GTK_2_16" was never defined. Usually this means the macro was only invoked conditionally. This is from my mac terminal. Just to let you know that pycairo, gtk +, python 2.6 are all installed. Any suggestions Cheers andrea _______________________________________________ pygtk mailing list [hidden email] http://www.daa.com.au/mailman/listinfo/pygtkRead the PyGTK FAQ: http://faq.pygtk.org/ Gian Mario Tagliaretti-3 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: [Fwd: install proplem] On Mon, Jun 1, 2009 at 10:22 AM, Rafael Villar Burke (Pachi) <[hidden email]> wrote: > checking for PYCAIRO... no where is your pycairo installed? in a system folder or in a separate location such as /opt/foo? cheers -- Gian Mario Tagliaretti GNOME Foundation member [hidden email] _______________________________________________ pygtk mailing list [hidden email] http://www.daa.com.au/mailman/listinfo/pygtkRead the PyGTK FAQ: http://faq.pygtk.org/ « Return to Gtk+ - Python | 1 view|%1 views Loading... Free forum by Nabble Edit this page