FreeBSD compile error 2.4.x to 2.4.3
I'm getting the following error trying to compile Zope 2.4.x to 2.4.3 upgrade on FreeBSD Compiling extensions in lib/python cp /usr/local/lib/python2.1/config/Makefile.pre.in . cp: /usr/local/lib/python2.1/config/Makefile.pre.in: No such file or directory Traceback (most recent call last): File "/usr/local/zope/2.4.2/w_pcgi.py", line 111, in ? if __name__=='__main__': main(sys.argv[0]) File "/usr/local/zope/2.4.2/w_pcgi.py", line 109, in main import wo_pcgi; wo_pcgi.main(me) File "/usr/local/zope/2.4.2/wo_pcgi.py", line 105, in main import build_extensions File "/usr/local/zope/2.4.2/inst/build_extensions.py", line 102, in ? make('lib','python') File "/usr/local/zope/2.4.2/inst/do.py", line 133, in make do("cp %s ." % wheres_Makefile_pre_in()) File "/usr/local/zope/2.4.2/inst/do.py", line 104, in do if i and picky: raise SystemError, i SystemError: 256 the python2.1 is a python that worked just fine for 2.4.2...However, unless I am being incredibly stupid, it doesn't have a config folder: Makefile.pre.in is in the top python2.1 folder. Has anyone else encountered this, or feel the need to fix it? If not, I guess I'll dig in a bit...look at "wheres_Makefile_pre_in", for instance... Thanks Gary
Hi Gary, Hmm. on my FreeBSD 4.4S systems there is a /usr/local/lib/python2.1/config/Makefile.pre.in ~> ls -lga /usr/local/lib/python2.1/config/ total 916 drwxr-xr-x 2 root wheel 512 Oct 14 18:02 . drwxr-xr-x 17 root wheel 10752 Oct 14 18:02 .. -r--r--r-- 1 root wheel 24187 Oct 14 18:02 Makefile -r--r--r-- 1 root wheel 10187 Oct 14 18:02 Makefile.pre.in -r--r--r-- 1 root wheel 16924 Oct 14 18:02 Setup -r--r--r-- 1 root wheel 423 Oct 14 18:02 Setup.config -r--r--r-- 1 root wheel 41 Oct 14 18:02 Setup.local -r--r--r-- 1 root wheel 1446 Oct 14 18:02 config.c -r--r--r-- 1 root wheel 1126 Oct 14 18:02 config.c.in -r-xr-xr-x 1 root wheel 5598 Oct 14 18:02 install-sh -r--r--r-- 1 root wheel 840598 Oct 14 18:02 libpython2.1.a -r-xr-xr-x 1 root wheel 7390 Oct 14 18:02 makesetup -r--r--r-- 1 root wheel 824 Oct 14 18:02 python.o Soo.. how did you install python2.1? -steve On Thursday, November 29, 2001, at 02:01 PM, Gary & Karyn wrote:
I'm getting the following error trying to compile Zope 2.4.x to 2.4.3 upgrade on FreeBSD
Compiling extensions in lib/python cp /usr/local/lib/python2.1/config/Makefile.pre.in . cp: /usr/local/lib/python2.1/config/Makefile.pre.in: No such file or directory Traceback (most recent call last): File "/usr/local/zope/2.4.2/w_pcgi.py", line 111, in ? if __name__=='__main__': main(sys.argv[0]) File "/usr/local/zope/2.4.2/w_pcgi.py", line 109, in main import wo_pcgi; wo_pcgi.main(me) File "/usr/local/zope/2.4.2/wo_pcgi.py", line 105, in main import build_extensions File "/usr/local/zope/2.4.2/inst/build_extensions.py", line 102, in ? make('lib','python') File "/usr/local/zope/2.4.2/inst/do.py", line 133, in make do("cp %s ." % wheres_Makefile_pre_in()) File "/usr/local/zope/2.4.2/inst/do.py", line 104, in do if i and picky: raise SystemError, i SystemError: 256
the python2.1 is a python that worked just fine for 2.4.2...However, unless I am being incredibly stupid, it doesn't have a config folder: Makefile.pre.in is in the top python2.1 folder. Has anyone else encountered this, or feel the need to fix it? If not, I guess I'll dig in a bit...look at "wheres_Makefile_pre_in", for instance...
Thanks
Gary
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hey Steve. Thanks a lot for responding! <snip presence of config directory>
Soo.. how did you install python2.1?
-steve
heh--from 2.1.1 source about a month ago. I'll reinstall and see if I did anything stupid in those halcyon days of my youth. :-) ... ...if I did, I'm still being stupid. This time, and I assume last time, I read through the python README and didn't see that anything special was needed for my FreeBSD 4.3. So, doing the work first in my tmp directory, *not* as root (and then I did it again as root just to make sure), I did the ever-popular ./configure make The time before I was using the standard FreeBSD make; this time it was the GNU make; didn't make any difference apparently. My python folder contents are listed at the bottom of the email. You know...one sec...the config directory is there in my 1.5 folder...looks similar to what you list except with the different python name and the no longer necessary Setup.thread... So am I doing anything wrong? Thanks again g drwxr-xr-x 23 gposter gposter 512 Jul 20 13:57 Demo drwxr-xr-x 19 gposter gposter 512 Jul 20 13:57 Doc drwxr-xr-x 2 gposter gposter 512 Jul 20 13:57 Grammar drwxr-xr-x 2 gposter gposter 1536 Jul 20 13:57 Include -rw-r--r-- 1 gposter gposter 11814 Jul 13 17:06 LICENSE drwxr-xr-x 28 gposter gposter 4608 Nov 29 23:42 Lib drwxr-xr-x 22 gposter gposter 512 Jul 20 13:57 Mac -rw-r--r-- 1 gposter gposter 24032 Nov 29 23:41 Makefile -rw-r--r-- 1 gposter gposter 22353 Nov 29 23:41 Makefile.pre -rw-r--r-- 1 gposter gposter 22341 Jul 19 13:21 Makefile.pre.in drwxr-xr-x 3 gposter gposter 1024 Jul 20 13:57 Misc drwxr-xr-x 2 gposter gposter 3072 Nov 29 23:42 Modules drwxr-xr-x 2 gposter gposter 1536 Nov 29 23:42 Objects drwxr-xr-x 4 gposter gposter 512 Jul 20 13:57 PC drwxr-xr-x 2 gposter gposter 1024 Jul 20 13:57 PCbuild drwxr-xr-x 2 gposter gposter 1024 Nov 29 23:42 Parser drwxr-xr-x 2 gposter gposter 2560 Nov 29 23:42 Python -rw-r--r-- 1 gposter gposter 38651 Jul 18 19:40 README drwxr-xr-x 5 gposter gposter 512 Jul 20 13:57 RISCOS drwxr-xr-x 16 gposter gposter 512 Jul 20 13:57 Tools -rw-r--r-- 1 gposter gposter 6364 Jul 11 22:27 acconfig.h drwxr-xr-x 5 gposter gposter 512 Nov 29 23:43 build -rw-r--r-- 1 gposter gposter 2 Nov 29 23:42 buildno -rw-r--r-- 1 gposter gposter 10167 Nov 29 23:41 config.cache -rw-r--r-- 1 gposter gposter 18306 Nov 29 23:41 config.h -rw-r--r-- 1 gposter gposter 17413 Jul 16 16:07 config.h.in -rw-r--r-- 1 gposter gposter 108289 Nov 29 23:41 config.log -rwxr-xr-x 1 gposter gposter 36165 Nov 29 23:41 config.status -rwxr-xr-x 1 gposter gposter 184137 Jul 16 16:07 configure -rw-r--r-- 1 gposter gposter 37641 Jul 16 16:07 configure.in -rwxr-xr-x 1 gposter gposter 5598 Feb 10 2001 install-sh -rw-r--r-- 1 gposter gposter 3124478 Nov 29 23:42 libpython2.1.a -rwxr-xr-x 1 gposter gposter 1423467 Nov 29 23:42 python -rw-r--r-- 1 gposter gposter 25731 Jul 16 16:00 setup.py
DOH! I didn't do make install!!!! Just moved it where I knew it was supposed to go, ran the tests, and moved on ......................sorry! [embarrassment] :-) Thanks again for not leaving me alone on this one. heh. heh. g ----- Original Message ----- From: "Steve Spicklemire" <steve@spvi.com> To: "Gary & Karyn" <garykaryn@earthlink.net> Cc: "Steve Spicklemire" <steve@spvi.com>; <zope@zope.org> Sent: Thursday, November 29, 2001 7:41 PM Subject: Re: [Zope] FreeBSD compile error 2.4.x to 2.4.3
Hi Gary,
Hmm. on my FreeBSD 4.4S systems there is a /usr/local/lib/python2.1/config/Makefile.pre.in
~> ls -lga /usr/local/lib/python2.1/config/ total 916 drwxr-xr-x 2 root wheel 512 Oct 14 18:02 . drwxr-xr-x 17 root wheel 10752 Oct 14 18:02 .. -r--r--r-- 1 root wheel 24187 Oct 14 18:02 Makefile -r--r--r-- 1 root wheel 10187 Oct 14 18:02 Makefile.pre.in -r--r--r-- 1 root wheel 16924 Oct 14 18:02 Setup -r--r--r-- 1 root wheel 423 Oct 14 18:02 Setup.config -r--r--r-- 1 root wheel 41 Oct 14 18:02 Setup.local -r--r--r-- 1 root wheel 1446 Oct 14 18:02 config.c -r--r--r-- 1 root wheel 1126 Oct 14 18:02 config.c.in -r-xr-xr-x 1 root wheel 5598 Oct 14 18:02 install-sh -r--r--r-- 1 root wheel 840598 Oct 14 18:02 libpython2.1.a -r-xr-xr-x 1 root wheel 7390 Oct 14 18:02 makesetup -r--r--r-- 1 root wheel 824 Oct 14 18:02 python.o
Soo.. how did you install python2.1?
-steve
On Thursday, November 29, 2001, at 02:01 PM, Gary & Karyn wrote:
I'm getting the following error trying to compile Zope 2.4.x to 2.4.3 upgrade on FreeBSD
Compiling extensions in lib/python cp /usr/local/lib/python2.1/config/Makefile.pre.in . cp: /usr/local/lib/python2.1/config/Makefile.pre.in: No such file or directory Traceback (most recent call last): File "/usr/local/zope/2.4.2/w_pcgi.py", line 111, in ? if __name__=='__main__': main(sys.argv[0]) File "/usr/local/zope/2.4.2/w_pcgi.py", line 109, in main import wo_pcgi; wo_pcgi.main(me) File "/usr/local/zope/2.4.2/wo_pcgi.py", line 105, in main import build_extensions File "/usr/local/zope/2.4.2/inst/build_extensions.py", line 102, in ? make('lib','python') File "/usr/local/zope/2.4.2/inst/do.py", line 133, in make do("cp %s ." % wheres_Makefile_pre_in()) File "/usr/local/zope/2.4.2/inst/do.py", line 104, in do if i and picky: raise SystemError, i SystemError: 256
the python2.1 is a python that worked just fine for 2.4.2...However, unless I am being incredibly stupid, it doesn't have a config folder: Makefile.pre.in is in the top python2.1 folder. Has anyone else encountered this, or feel the need to fix it? If not, I guess I'll dig in a bit...look at "wheres_Makefile_pre_in", for instance...
Thanks
Gary
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Gary & Karyn -
Gary Poster -
Steve Spicklemire