Following problem when installing kde4 on new 9.1-RELEASE on new empty hard drive. I have highlighted some of the things that I feel is significant.
This from /usr/ports/devel/libical/work/libical-0.44/config.log
This part of pth.h
I found a fix from 2010 for python2.6 that copied the header files to another directory. I did this as shown below.
/usr/local/include/pth/Python.h
/usr/local/include/python2.7/Python.h
and
/usr/local/include/pth/pth.h
/usr/local/include/python2.7/pth.h
I also did a deinstall and a reinstall without any difference.
I did not do an explicit install of python so it had to come from one of the other installs such as mysql, samba, or xorg. When a option screen appeared I took the default install options. There is no package that I can find for 9.1-Release on any of the ftp servers and there were none on the downloaded DVD.
The header files that the install can't find is on the system in two different places. What does it want, Python.h or pth.h? It appears that there is not a proper path or the files are in the wrong place.
Here is my question, where can I copy the Python header files so the compile will run?
Anybody have any ideas?
Code:
checking for swig... (cached) true
checking python2.7/Python.h usability... no
checking python2.7/Python.h presence... no
[B]checking for python2.7/Python.h... no
configure: error: Can't find python header files[/B]
===> 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
[email]gnome@FreeBSD.org[/email], and attach (a)
"/usr/ports/devel/libical/work/libical-0.44/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 [url]http://freebsd-gnome.pastebin.com[/url], or use send-pr(1) with
the attachment. Try to avoid sending any attachments to the mailing list
(gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are
usually discarded by the mailing list software.
This from /usr/ports/devel/libical/work/libical-0.44/config.log
Code:
Stop in /usr/ports/devel/libical.
*** [lib-depends] Error code 1
configure:20438: $? = 0
configure:20441: test -s conftest
configure:20444: $? = 0
configure:20456: result: yes
configure:20712: checking for python
configure:20739: result: true
configure:20748: checking for swig
configure:20775: result: true
configure:20797: checking python2.7/Python.h usability
configure:20809: cc -c -O2 -pipe -fPIC -fno-strict-aliasing -I/usr/local/include conftest.c >&5
In file included from conftest.c:81:
/[B]usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file or directory[/B]
configure:20815: $? = 1
configure: failed program was:
| /* confdefs.h. */
Code:
#ifdef HAVE_PTH
/* GNU pth user-space thread support */
[B]#include <pth.h>[/B]
#endif
I found a fix from 2010 for python2.6 that copied the header files to another directory. I did this as shown below.
# find / -name Python.h -print
/usr/local/include/pth/Python.h
/usr/local/include/python2.7/Python.h
and
# find / -name pth.h -print
/usr/local/include/pth/pth.h
/usr/local/include/python2.7/pth.h
I also did a deinstall and a reinstall without any difference.
I did not do an explicit install of python so it had to come from one of the other installs such as mysql, samba, or xorg. When a option screen appeared I took the default install options. There is no package that I can find for 9.1-Release on any of the ftp servers and there were none on the downloaded DVD.
The header files that the install can't find is on the system in two different places. What does it want, Python.h or pth.h? It appears that there is not a proper path or the files are in the wrong place.
Here is my question, where can I copy the Python header files so the compile will run?
Anybody have any ideas?