• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: /usr vs. /usr/local
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /usr vs. /usr/local


  • Subject: Re: /usr vs. /usr/local
  • From: Scott Tooker <email@hidden>
  • Date: Mon, 9 Feb 2004 16:32:53 -0800

You could try just adding the header file to your project and target.
Once you've done that Xcode will track the location of the header file
directly instead of falling back on search paths.

Scott

On Feb 9, 2004, at 1:05 PM, Chris Silverberg wrote:

> Hello everyone,
>
> I have a question about upgrading to Xcode from ProjectBuilder.  I
> have a
> project that uses libcurl.  Apple includes an old version of libcurl,
> but I
> have since installed the latest version of libcurl.  So now I have two
> versions installed, the old in /usr, and the newer in /usr/local.
>
> With project builder, this wasn't a problem.  PB appears to look in
> /usr/local first, and then in /usr.  But with Xcode, this no longer
> appears
> to be the case... my new project is trying to include the header file
> from
> /usr/include which causes my project to fail compile.
>
> Can someone shed some light on this?  Is this a bug?  Or is there a
> way to
> customize the search order for libraries and header files?  Clearly I
> could
> probably resolve the problem by moving libcurl from /usr/local to
> /usr.  But
> I dislike that approach, it's not a very clean solution.
>
> thanks much,
> Chris
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >/usr vs. /usr/local (From: Chris Silverberg <email@hidden>)

  • Prev by Date: Re: Distributed Compiling on a x86 machine
  • Next by Date: Re: Mac OS X Deployment Target setting
  • Previous by thread: /usr vs. /usr/local
  • Next by thread: How do I create a simple script for XCode?
  • Index(es):
    • Date
    • Thread