Re: devel/gobject-introspection throws up because of python

2010-12-09 Thread Lowell Gilbert
Chris Brennan xa...@xaerolimit.net writes:

 Sadly this didn't work for me. I for the same error.

Oh, well.  It's a bit confusing then, since you seem to be the only
person with this particular problem.

Have you checked whether the missing files are on your disk or not?

 -- Sent from my Droid

 On Dec 7, 2010 10:28 AM, Lowell Gilbert 
 freebsd-questions-lo...@be-well.ilk.org wrote:
 Chris Brennan xa...@xaerolimit.net writes:

 While trying to compile audio/tagtool on a FreeBSD7.3 (x86) machine
 devel/gobject-introspection decides to throw up and I got this: (the
 install
 was via portmaster -d)

 Looks like your python installation is broken.

 Try rebuilding that first.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: devel/gobject-introspection throws up because of python

2010-12-08 Thread Chris Brennan
Sadly this didn't work for me. I for the same error.

-- Sent from my Droid

On Dec 7, 2010 10:28 AM, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:
 Chris Brennan xa...@xaerolimit.net writes:

 While trying to compile audio/tagtool on a FreeBSD7.3 (x86) machine
 devel/gobject-introspection decides to throw up and I got this: (the
install
 was via portmaster -d)

 Looks like your python installation is broken.

 Try rebuilding that first.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: devel/gobject-introspection throws up because of python

2010-12-07 Thread Lowell Gilbert
Chris Brennan xa...@xaerolimit.net writes:

 While trying to compile audio/tagtool on a FreeBSD7.3 (x86) machine
 devel/gobject-introspection decides to throw up and I got this: (the install
 was via portmaster -d)

Looks like your python installation is broken.  

Try rebuilding that first.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


devel/gobject-introspection throws up because of python

2010-12-03 Thread Chris Brennan
While trying to compile audio/tagtool on a FreeBSD7.3 (x86) machine
devel/gobject-introspection decides to throw up and I got this: (the install
was via portmaster -d)


checking for /usr/local/bin/python2.6 version... 2.6
checking for /usr/local/bin/python2.6 platform... freebsd7
checking for /usr/local/bin/python2.6 script directory...
${prefix}/lib/python2.6/site-packages
checking for /usr/local/bin/python2.6 extension module directory...
${exec_prefix}/lib/python2.6/site-packages
checking for headers required to compile python extensions... not found
configure: error: Python headers not found
===  Script configure failed unexpectedly.
Please run the gnomelogalyzer, available from
http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gn...@freebsd.org, and attach (a)
/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.9.12/config.log,
(b) the output of the failed make command, and (c) the gnomelogalyzer
output.
Also, it might be a good idea to provide an overview of all packages
installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gn...@freebsd.org), because attachments sent to FreeBSD
mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/devel/gobject-introspection.

=== make failed for devel/gobject-introspection
=== Aborting update

=== Update for devel/gobject-introspection failed
=== Aborting update

=== Update for atk-1.24.0 failed
=== Aborting update

[r...@ziggy [~]# python -v
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/local/lib/python2.6/site.pyc matches /usr/local/lib/python2.6/site.py
import site # precompiled from /usr/local/lib/python2.6/site.pyc
# /usr/local/lib/python2.6/os.pyc matches /usr/local/lib/python2.6/os.py
import os # precompiled from /usr/local/lib/python2.6/os.pyc
import errno # builtin
import posix # builtin
# /usr/local/lib/python2.6/posixpath.pyc matches
/usr/local/lib/python2.6/posixpath.py
import posixpath # precompiled from /usr/local/lib/python2.6/posixpath.pyc
# /usr/local/lib/python2.6/stat.pyc matches /usr/local/lib/python2.6/stat.py
import stat # precompiled from /usr/local/lib/python2.6/stat.pyc
# /usr/local/lib/python2.6/genericpath.pyc matches
/usr/local/lib/python2.6/genericpath.py
import genericpath # precompiled from
/usr/local/lib/python2.6/genericpath.pyc
# /usr/local/lib/python2.6/warnings.pyc matches
/usr/local/lib/python2.6/warnings.py
import warnings # precompiled from /usr/local/lib/python2.6/warnings.pyc
# /usr/local/lib/python2.6/linecache.pyc matches
/usr/local/lib/python2.6/linecache.py
import linecache # precompiled from /usr/local/lib/python2.6/linecache.pyc
# /usr/local/lib/python2.6/types.pyc matches
/usr/local/lib/python2.6/types.py
import types # precompiled from /usr/local/lib/python2.6/types.pyc
# /usr/local/lib/python2.6/UserDict.pyc matches
/usr/local/lib/python2.6/UserDict.py
import UserDict # precompiled from /usr/local/lib/python2.6/UserDict.pyc
# /usr/local/lib/python2.6/_abcoll.pyc matches
/usr/local/lib/python2.6/_abcoll.py
import _abcoll # precompiled from /usr/local/lib/python2.6/_abcoll.pyc
# /usr/local/lib/python2.6/abc.pyc matches /usr/local/lib/python2.6/abc.py
import abc # precompiled from /usr/local/lib/python2.6/abc.pyc
# /usr/local/lib/python2.6/copy_reg.pyc matches
/usr/local/lib/python2.6/copy_reg.py
import copy_reg # precompiled from /usr/local/lib/python2.6/copy_reg.pyc
import encodings # directory /usr/local/lib/python2.6/encodings
# /usr/local/lib/python2.6/encodings/__init__.pyc matches
/usr/local/lib/python2.6/encodings/__init__.py
import encodings # precompiled from
/usr/local/lib/python2.6/encodings/__init__.pyc
# /usr/local/lib/python2.6/codecs.pyc matches
/usr/local/lib/python2.6/codecs.py
import codecs # precompiled from /usr/local/lib/python2.6/codecs.pyc
import _codecs # builtin
# /usr/local/lib/python2.6/encodings/aliases.pyc matches
/usr/local/lib/python2.6/encodings/aliases.py
import encodings.aliases # precompiled from
/usr/local/lib/python2.6/encodings/aliases.pyc
# /usr/local/lib/python2.6/encodings/ascii.pyc matches
/usr/local/lib/python2.6/encodings/ascii.py
import encodings.ascii # precompiled from
/usr/local/lib/python2.6/encodings/ascii.pyc
Python 2.6.6 (r266:84292, Oct 14 2010, 14:19:46)
[GCC 4.2.1 20070719  [FreeBSD]] on freebsd7
Type help, copyright, credits or license for more information.
dlopen(/usr/local/lib/python2.6/lib-dynload/readline.so, 2);
import readline # dynamically loaded from
/usr/local/lib/python2.6/lib-dynload/readline.so

[r...@ziggy [~]# uname -a
FreeBSD ziggy.xaerolimit.net 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3

devel/gobject-introspection

2010-05-28 Thread n dhert
When doing daily portupgrades I have a problem with
devel/gobject-introspection :

...
/giscanner/xmlwriter.py, line 71, in module
from giscanner._giscanner import collect_attributes
  File
/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11
/giscanner/libtoolimporter.py, line 53, in load_module
('.so', 'rb', 3))
ImportError: Shared object libz.so.4 not found, required by
libgio-2.0.so.0
gmake[2]: *** [GLib-2.0.gir] Error 1
gmake[2]: Leaving directory
`/usr/ports/devel/gobject-introspection/work/gobject
-introspection-0.6.11/gir'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/devel/gobject-introspection/work/gobject
-introspection-0.6.11'
gmake: *** [all] Error 2
*** Error code 1
Stop in /usr/ports/devel/gobject-introspection.
It looks for libz.so.4 but
$ locate libz.so
/lib/libz.so.5
/usr/compat/linux/usr/lib/libz.so.1
/usr/compat/linux/usr/lib/libz.so.1.2.2.2
/usr/lib/libz.so
This system was upgraded from 7.2 to 8.0.
It still seems to look for a 7.2 version of libz instead of libz.so.5 which
is what is used in 8.0
I tried
# cd /usr/ports/devel/gobject-introspection
# make deinstall
(reports no problems)
# make reinstall
but this gives the same errors

# pkgdb -F
---  Checking the package registry database
Stale dependency: consolekit-0.4.1_2 - gobject-introspection-0.6.10
(devel/gobj
ect-introspection):
Install stale dependency? ([y]es/[n]o/[a]ll) [yes]

How to fix this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: devel/gobject-introspection

2010-05-28 Thread Koop Mast
On Fri, 2010-05-28 at 09:09 +0200, n dhert wrote:
 When doing daily portupgrades I have a problem with
 devel/gobject-introspection :
 
 ...
 /giscanner/xmlwriter.py, line 71, in module
 from giscanner._giscanner import collect_attributes
   File
 /usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11
 /giscanner/libtoolimporter.py, line 53, in load_module
 ('.so', 'rb', 3))
 ImportError: Shared object libz.so.4 not found, required by
 libgio-2.0.so.0
 gmake[2]: *** [GLib-2.0.gir] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/devel/gobject-introspection/work/gobject
 -introspection-0.6.11/gir'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/devel/gobject-introspection/work/gobject
 -introspection-0.6.11'
 gmake: *** [all] Error 2
 *** Error code 1
 Stop in /usr/ports/devel/gobject-introspection.
 It looks for libz.so.4 but
 $ locate libz.so
 /lib/libz.so.5
 /usr/compat/linux/usr/lib/libz.so.1
 /usr/compat/linux/usr/lib/libz.so.1.2.2.2
 /usr/lib/libz.so
 This system was upgraded from 7.2 to 8.0.
 It still seems to look for a 7.2 version of libz instead of libz.so.5 which
 is what is used in 8.0
 I tried
 # cd /usr/ports/devel/gobject-introspection
 # make deinstall
 (reports no problems)
 # make reinstall
 but this gives the same errors

The problem here is that devel/glib20 still links agains the 7.2 libz
(which is gone) while this port wants to link agains 8.0 libz. 

As a rule of the thumb if you upgrade to another major freebsd release.
You will need to reinstall _all_ of your ports. You can do this by using
portmaster or portupgrade. Or make a list of all installed ports, then
use pkg_delete -a to remove them all. And reinstall them then. 

 # pkgdb -F
 ---  Checking the package registry database
 Stale dependency: consolekit-0.4.1_2 - gobject-introspection-0.6.10
 (devel/gobj
 ect-introspection):
 Install stale dependency? ([y]es/[n]o/[a]ll) [yes]
 
 How to fix this?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Can't compile devel/gobject-introspection under 7.2

2010-05-01 Thread bfls

I'm trying to install deskutils/calibre but it is failing when it
tries to compile gobject-introspection.  I get the errors below and
then it just hangs.

I'm running 7.2-RELEASE-p7 with a GENERIC i386 kernel and I updated my
ports tree yesterday (1 May).  Given the version bump to png I took
the belt-and-braces approach of then doing a pkg_delete -a and
cleaning out my /usr/local/lib directory before adding back in all my
ports one by one.  It all went smoothly until I tried adding calibre.

I've done a google search and found two other people who reported the same
problem (one under 7.2 and the other with 8.0) but no
workaround/fixes.  Has anything else seen this?  There is nothing in
UPDATING.  The must (please) be a solution because this port is used
by pretty much anything gnome-related so it would be widely used.


env LPATH=.libs  env PYTHONPATH=..:..:YTHONPATH 
UNINSTALLED_INTROSPECTION_SRCDIR=.. UNINSTALLED_INTROSPECTION_BUILDDIR=.. 
../tools/g-ir-scanner -v --add-include-path=../gir --add-include-path=. -v 
--add-include-path=../gir --add-include-path=. --namespace=GLib --nsversion=2.0 
--libtool=/bin/sh /usr/local/bin/libtool  --library=glib-2.0 --pkg=glib-2.0  
--noclosure --strip-prefix=g --c-include=glib.h -I/usr/local/include 
-I/usr/local/include/glib-2.0 -DGETTEXT_PACKAGE=Dummy -D__G_I18N_LIB_H__ 
/usr/local/include/glib-2.0/glibconfig.h /usr/local/include/glib-2.0/glib/*.h 
./glib-2.0.c --output GLib-2.0.gir
In file included from stdin:23:
/usr/local/include/glib-2.0/glib/ghostutils.h:21:2: error: #error Only 
glib.h can be included directly.
/usr/include/machine/endian.h:146: syntax error, unexpected '{' in ' return 
(__extension__ ({ register __uint32_t __X = (_x); __asm (bswap %0 : +r 
(__X)); __X; }));' at '{'
/usr/include/machine/endian.h:146: syntax error, unexpected ';' in ' return 
(__extension__ ({ register __uint32_t __X = (_x); __asm (bswap %0 : +r 
(__X)); __X; }));' at ';'
/usr/include/machine/endian.h:153: syntax error, unexpected '{' in ' return 
(__extension__ ({ register __uint16_t __X = (_x); __asm (xchgb %h0, %b0 : 
+q (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:153: syntax error, unexpected ';' in ' return 
(__extension__ ({ register __uint16_t __X = (_x); __asm (xchgb %h0, %b0 : 
+q (__X)); __X; }));' at ';'

Any help greatly appreciated.  

Barbara
-- 
b...@netspace.net.au
On a clear disk you can seek forever.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org