On 5/13/10 1:20 PM, Alexander Hansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 5/13/10 4:23 AM, Tim Harder wrote: > >> Hey, >> >> I am trying to install ffmpeg from the fink repository, but it >> unfortunately fails when trying to build >> one of the dependencies, namely xmkmf package. >> > The fact that you're ultimately trying to install ffmpeg isn't > particularly relevant to _this_ error. > > [ ... ] >> I am running 10.6.3 on a late 2007 MacBookPro. >> > The vintage of your machine is also not particularly relevant. What > would potentially have been more relevant would be whether you're on a > 32-bit or 64-bit Fink setup--but it probably doesn't matter in this case. > > >> My default compiler is gcc4.4. >> >> I would be grateful for any hints or tips. >> >> Thanks >> Tim >> >> >> Up to this point your answer isn't particularly useful either. Since I obviously do not know what the source of the error is, I have no idea what information would be useful or not. I for example thought, that the compiler wouldn't be so important, but decided to add that information since it may prove helpful .. and tadada .. it did give you the right clue to the solution. > When you say that your default compiler is gcc4.4, does this mean that > you made symbolic links to fink's gcc4.4 (or another installation) > including the /sw/bin/cpp noted above? That would be what is causing > your error. > > We deliberately _don't_ put the FSF gcc tools from fink's gcc4N packages > in the path as "cpp", "gcc", "g++", etc. because they don't work > identically to the corresponding tools from Xcode, and Fink's packages > for the most part assume the Xcode compilers are what will be used to > build them. And those that actually use e.g. gcc44 are set up > appropriately to do so without additional modifications. > > Get rid of those symlinks. If you really want e.g. "gcc" to point to > Fink's gcc4.4, then an option would be to have that in $HOME/bin, and > have $HOME/bin in your PATH. Fink tries not to use anything from your > environment apart from what it sets itself, and so it will see > /usr/bin/gcc as "gcc". > Thanks, that is very useful advice . Removing the symlinks did the job and made everything work. Great help. Thanks.
Tim ------------------------------------------------------------------------------ _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
