divyang4481 / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

OSX (10.5.8) support broken? #94

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've tried several versions of firebreath now, and each fails to build plugins 
on OSX 10.5.8. I'm creating a test plugin using fbgen.py, and when I run 
prepmac.sh I get the following:

Patching XCode project 
/Users/tomasbrannstrom/firebreath-1.3.0rc3/build/projects/Hello/Hello.xcodeproj/
project.pbxproj with target Hello
Traceback (most recent call last):
  File "/Users/tomasbrannstrom/firebreath-1.3.0rc3/cmake/patch_xcode.py", line 94, in <module>
    Main()
  File "/Users/tomasbrannstrom/firebreath-1.3.0rc3/cmake/patch_xcode.py", line 86, in Main
    proj.patchTarget(options.target)
  File "/Users/tomasbrannstrom/firebreath-1.3.0rc3/cmake/patch_xcode.py", line 56, in patchTarget
    self.prodRefId = self.prodRef.search(self.targetBlockStr).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Patching XCode project 
/Users/tomasbrannstrom/firebreath-1.3.0rc3/build/FireBreath.xcodeproj/project.pb
xproj with target Hello
Traceback (most recent call last):
  File "/Users/tomasbrannstrom/firebreath-1.3.0rc3/cmake/patch_xcode.py", line 94, in <module>
    Main()
  File "/Users/tomasbrannstrom/firebreath-1.3.0rc3/cmake/patch_xcode.py", line 86, in Main
    proj.patchTarget(options.target)
  File "/Users/tomasbrannstrom/firebreath-1.3.0rc3/cmake/patch_xcode.py", line 56, in patchTarget
    self.prodRefId = self.prodRef.search(self.targetBlockStr).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Attempting to build the plugin despite this gives me (in XCode):
ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___tcf_0 from 
/Users/tomasbrannstrom/firebreath-1.3.0rc3/build/projects/Hello/FireBreath.build
/Debug/Hello.build/Objects-normal/i386/Factory.o not allowed in slidable image. 
Use '-read_only_relocs suppress' to enable text relocs
collect2: ld returned 1 exit status
Build failed (1 error)

Original issue reported on code.google.com by theNet...@gmail.com on 27 Oct 2010 at 11:06

GoogleCodeExporter commented 8 years ago
What versions of CMake, Xcode and Python are you using?
I can't test on 10.5 earlier than tomorrow.

Original comment by georg.fritzsche on 27 Oct 2010 at 11:25

GoogleCodeExporter commented 8 years ago
Oh, as it turns out I had two versions of CMake installed: 2.6 from Macports 
and 2.8 built from source and the older version ended up being the one used... 
I uninstalled that and now it works without problems.

Original comment by theNet...@gmail.com on 27 Oct 2010 at 12:04

GoogleCodeExporter commented 8 years ago
Good to hear. I'll still check on 10.5 this week as we should have support for 
CMake >= 2.6.

Original comment by georg.fritzsche on 27 Oct 2010 at 5:15

GoogleCodeExporter commented 8 years ago
This seems to be cleared up, though another issue with 10.5 is being worked on 
by physicsrob.

Original comment by taxilian on 9 Nov 2010 at 11:40