Difference between revisions of "Development:Building:Build Errors"

From Camino Wiki
Jump to navigation Jump to search
(First iteration of the page wit the libpermissions.dylib entry, looking for a solution.)
 
(→‎pbxcp: libpermissions.dylib: No such file or directory: Tracked down the problem, provided a solution.)
Line 5: Line 5:
 
=== pbxcp: libpermissions.dylib: No such file or directory ===
 
=== pbxcp: libpermissions.dylib: No such file or directory ===
  
Build target "Camino" of project "Camino" with configuration "Development" - (1 error)
+
==== Error message ====
  
Copying ../dist/bin/components/libpermissions.dylib - (1 error)
+
In XCode 2.3:
  
pbxcp: libpermissions.dylib: No such file or directory
+
Build target "Camino" of project "Camino" with configuration "Development" - (1 error)
 +
Copying ../dist/bin/components/libpermissions.dylib - (1 error)
 +
pbxcp: libpermissions.dylib: No such file or directory
 +
Build failed (1 error)
  
Build failed (1 error)
+
==== Cause ====
 +
 
 +
You have enabled a static build of Camino in your .mozconfig and this is not recommended for development.
 +
 
 +
==== Solution ====
 +
 
 +
You have to remove the following lines from your .mozconfig
 +
 
 +
ac_add_options --disable-shared
 +
ac_add_options --enable-static

Revision as of 13:35, 1 August 2006

Introduction

A breakdown of the common Camino build errors, what causes them, and how to resolve the error.

pbxcp: libpermissions.dylib: No such file or directory

Error message

In XCode 2.3:

Build target "Camino" of project "Camino" with configuration "Development" - (1 error)
Copying ../dist/bin/components/libpermissions.dylib - (1 error)
pbxcp: libpermissions.dylib: No such file or directory
Build failed (1 error)

Cause

You have enabled a static build of Camino in your .mozconfig and this is not recommended for development.

Solution

You have to remove the following lines from your .mozconfig

ac_add_options --disable-shared
ac_add_options --enable-static