Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91408 - I'm unable to install fxpy for a lot of compilation error
Summary: I'm unable to install fxpy for a lot of compilation error
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 03:30 UTC by Enrico Morelli
Modified: 2007-01-10 19:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Errors occurred during manual compilation (errors.txt,80.82 KB, text/plain)
2005-05-04 03:32 UTC, Enrico Morelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Morelli 2005-05-04 03:30:37 UTC
Packages: x11-libs/fox-1.4.11 and dev-python/fxpy (1.0.5)
During emerge fxpy, I have:
=================================================
>>> Source unpacked.
I couldn't find the file "fx.h" in this directory:

    /usr/include/fox

Please check the value of FXINCDIR in the FXPy setup.py script to make sure
it's pointing to your FOX include files directory.
>>> Test phase [not enabled]: dev-python/fxpy-1.0.5

>>> Install fxpy-1.0.5 into /var/tmp/portage/fxpy-1.0.5/image/ category dev-python
I couldn't find the file "fx.h" in this directory:

    /usr/include/fox

Please check the value of FXINCDIR in the FXPy setup.py script to make sure
it's pointing to your FOX include files directory.
===================================
Infact the include files are in /usr/include/fox-1.4.
Also the fxpy search for libFOX.a, but fox creates a libFOX-1.4.a.

The installation ends without errors (!?!?), but naturally the python module doesn't work:
    from FXPy.fox import *
ImportError: No module named FXPy.fox

After that I try to install the fxpy module by hand, untarring the package and
editing setup.py to reflect the new paths.
But when I try to run:
python setup.py install 
I have a lot of compilation errors that I include in the attachment file.

Reproducible: Always
Steps to Reproduce:
1.emerge fxpy
2.
3.

Actual Results:  
emerge install fxpy but it doesn't works because doesn't find the include files
 and libraries and doesn't compile anythings.

Expected Results:  
Install fxpy modules.

$ emerge info
Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r0, 2.6.1
1-gentoo-r6Y i686)
=================================================================
System uname: 2.6.11-gentoo-r6Y i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GH
z
Gentoo Base System version 1.6.11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled
]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=pentium4 -Os -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -Os -pipe -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://www.die.unipd.it/pub/Linux/distri
butions/gentoo-sources/ http://gentoo.osuosl.org/ ftp://ftp.tu-clausthal.de/pub/
linux/gentoo/ http://212.219.247.18/sites/www.ibiblio.org/gentoo/ ftp://mirrors.
sec.informatik.tu-darmstadt.de/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-
mirror/ http://ftp.caliu.info/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="4kstacks X aalib alsa apm avi bash-completion berkdb bitmap-fonts cdr crypt
 cups curl dvd emboss encode esd fam flac foomaticdb fortran gd gdbm gif gpg gph
oto2 gpm gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad mikmod mp3 mpeg mysql n
curses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime read
line sdk sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts 
type1-fonts vorbis x86 xml xml2 xmms xv zlib video_cards_radeon"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Enrico Morelli 2005-05-04 03:32:37 UTC
Created attachment 58013 [details]
Errors occurred during manual compilation
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2007-01-10 19:06:25 UTC
dev-python/fxpy left the tree a month ago.