Is anyone else having a problem compiling memcached from the current svn? I'm getting an error: Building memcached... checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.0 checking target system type... powerpc-apple-darwin8.11.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Cheers, John D. Tanner Conformance Ltd. The Old Methodist Chapel Great Hucklow Buxton Derbyshire SK17 8RG tel: +44 (0)1298 873800 fax: +44 (0)1298 873801 url: www.conformance.co.uk Registered in England, Company No. 3478646 -.-. --- -. ..-. --- .-. -- .- -. -.-. .
Hi John, --On May 28, 2008 12:55:04 PM +0100 John Tanner <john.tanner@conformance.co.uk> wrote:
Is anyone else having a problem compiling memcached from the current svn? I'm getting an error:
Building memcached... checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.0 checking target system type... powerpc-apple-darwin8.11.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details.
Edit the run script and remove "CFLAGS=-m64" from the libevent and memcache builds. Apparently there is a problem doing a fat build of those and we stuck with the intel flags, so the current run won't work on PowerPC. Of course this needs to be fixed... -- Cyrus Daboo
Hi Cyrus, It certainly got further after doing that but now I get a crazy error: Traceback (most recent call last): File "/Users/jdtanner/Developer/Twisted/twisted/application/app.py", line 374, in run config.parseOptions() File "/Users/jdtanner/Developer/Twisted/twisted/application/app.py", line 354, in parseOptions usage.Options.parseOptions(self, options) File "/Users/jdtanner/Developer/Twisted/twisted/python/usage.py", line 184, in parseOptions for (cmd, short, parser, doc) in self.subCommands: File "/Users/jdtanner/Developer/Twisted/twisted/application/app.py", line 364, in subCommands for plug in plugins: --- <exception caught here> --- File "/Users/jdtanner/Developer/Twisted/twisted/plugin.py", line 190, in getPlugins adapted = interface(plugin, None) File "/Users/jdtanner/Developer/zope.interface-3.3.0/build/ lib.macosx-10.3-fat-2.4/zope/interface/interface.py", line 635, in _call_conform return conform(self) File "/Users/jdtanner/Developer/Twisted/twisted/plugin.py", line 74, in __conform__ return self.load() File "/Users/jdtanner/Developer/Twisted/twisted/plugin.py", line 69, in load return namedAny(self.dropin.moduleName + '.' + self.name) File "/Users/jdtanner/Developer/Twisted/twisted/python/reflect.py", line 361, in namedAny topLevelPackage = __import__(trialname) File "/Users/jdtanner/Developer/CalendarServer/twisted/plugins/ caldav.py", line 1, in ? from twistedcaldav.tap import CalDAVServiceMaker File "/Users/jdtanner/Developer/CalendarServer/twistedcaldav/ tap.py", line 49, in ? from twistedcaldav.root import RootResource File "/Users/jdtanner/Developer/CalendarServer/twistedcaldav/ root.py", line 28, in ? from twistedcaldav.cache import ResponseCache, _CachedResponseResource File "/Users/jdtanner/Developer/CalendarServer/twistedcaldav/ cache.py", line 17, in ? import uuid exceptions.ImportError: No module named uuid Traceback (most recent call last): File "/Users/jdtanner/Developer/Twisted/twisted/application/app.py", line 376, in run print config File "/Users/jdtanner/Developer/Twisted/twisted/python/usage.py", line 373, in __str__ return self.getSynopsis() + '\n' + self.getUsage(width=None) File "/Users/jdtanner/Developer/Twisted/twisted/python/usage.py", line 407, in getUsage for (cmd, short, parser, desc) in self.subCommands: File "/Users/jdtanner/Developer/Twisted/twisted/application/app.py", line 364, in subCommands for plug in plugins: --- <exception caught here> --- File "/Users/jdtanner/Developer/Twisted/twisted/plugin.py", line 190, in getPlugins adapted = interface(plugin, None) File "/Users/jdtanner/Developer/zope.interface-3.3.0/build/ lib.macosx-10.3-fat-2.4/zope/interface/interface.py", line 635, in _call_conform return conform(self) File "/Users/jdtanner/Developer/Twisted/twisted/plugin.py", line 74, in __conform__ return self.load() File "/Users/jdtanner/Developer/Twisted/twisted/plugin.py", line 69, in load return namedAny(self.dropin.moduleName + '.' + self.name) File "/Users/jdtanner/Developer/Twisted/twisted/python/reflect.py", line 361, in namedAny topLevelPackage = __import__(trialname) File "/Users/jdtanner/Developer/CalendarServer/twisted/plugins/ caldav.py", line 1, in ? from twistedcaldav.tap import CalDAVServiceMaker File "/Users/jdtanner/Developer/CalendarServer/twistedcaldav/ tap.py", line 49, in ? from twistedcaldav.root import RootResource File "/Users/jdtanner/Developer/CalendarServer/twistedcaldav/ root.py", line 28, in ? from twistedcaldav.cache import ResponseCache, _CachedResponseResource File "/Users/jdtanner/Developer/CalendarServer/twistedcaldav/ cache.py", line 17, in ? import uuid exceptions.ImportError: No module named uuid By the weay, it has been running fine for several months but I decided to do an SVN update earlier and now everything is broken :( Cheers for all your help, John D. Tanner Conformance Ltd. The Old Methodist Chapel Great Hucklow Buxton Derbyshire SK17 8RG tel: +44 (0)1298 873800 fax: +44 (0)1298 873801 url: www.conformance.co.uk Registered in England, Company No. 3478646 -.-. --- -. ..-. --- .-. -- .- -. -.-. . On 28 May 2008, at 14:52, Cyrus Daboo wrote:
Hi John,
--On May 28, 2008 12:55:04 PM +0100 John Tanner <john.tanner@conformance.co.uk
wrote:
Is anyone else having a problem compiling memcached from the current svn? I'm getting an error:
Building memcached... checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.0 checking target system type... powerpc-apple-darwin8.11.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details.
Edit the run script and remove "CFLAGS=-m64" from the libevent and memcache builds. Apparently there is a problem doing a fat build of those and we stuck with the intel flags, so the current run won't work on PowerPC. Of course this needs to be fixed...
-- Cyrus Daboo
Hi John, --On May 28, 2008 3:50:55 PM +0100 John Tanner <john.tanner@conformance.co.uk> wrote:
It certainly got further after doing that but now I get a crazy error:
OK, so we are now relying on Python 2.5 features. This is true not only of the uuid module that you were not able to load, but we are now also using Twisted's inlineCallbacks method in place of deferredGenerators, and that uses the new feature in Python 2.5 where the yield statement can return a value. Bottom line: Python 2.5 is now required to run calendar server trunk. -- Cyrus Daboo
Excellent, it is now all back up and running! I owe you a beer :) John D. Tanner Conformance Ltd. The Old Methodist Chapel Great Hucklow Buxton Derbyshire SK17 8RG tel: +44 (0)1298 873800 fax: +44 (0)1298 873801 url: www.conformance.co.uk Registered in England, Company No. 3478646 -.-. --- -. ..-. --- .-. -- .- -. -.-. . On 28 May 2008, at 16:02, Cyrus Daboo wrote:
Hi John,
--On May 28, 2008 3:50:55 PM +0100 John Tanner <john.tanner@conformance.co.uk
wrote:
It certainly got further after doing that but now I get a crazy error:
OK, so we are now relying on Python 2.5 features. This is true not only of the uuid module that you were not able to load, but we are now also using Twisted's inlineCallbacks method in place of deferredGenerators, and that uses the new feature in Python 2.5 where the yield statement can return a value.
Bottom line: Python 2.5 is now required to run calendar server trunk.
-- Cyrus Daboo
participants (2)
-
Cyrus Daboo
-
John Tanner