newbie trying to install gphoto2
Hi I have a new laptop and am trying to install gphoto2 on to it (OSX). following these instructions... http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/ I downloaded and installed DarwinPort, then tried entering: sudo port install libgphoto2 I got the error returned: unable to open port: invalid name "configure.cflags-append" Everyone I have asked seems to have no idea why this is happening. Is mac ports / darwin ports providing the sources or the binaries? All I want to do is download the software so I can run it from the command line. Do you have any suggestions for how to do this? Many thanks Chris
On Jun 6, 2007, at 17:31, Chris O'Shea wrote:
I have a new laptop and am trying to install gphoto2 on to it (OSX).
following these instructions... http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/
I downloaded and installed DarwinPort, then tried entering: sudo port install libgphoto2
I got the error returned: unable to open port: invalid name "configure.cflags-append"
Everyone I have asked seems to have no idea why this is happening.
Is mac ports / darwin ports providing the sources or the binaries? All I want to do is download the software so I can run it from the command line.
Do you have any suggestions for how to do this?
DarwinPorts is now called MacPorts, and it is an infrastructure which downloads package source code and compiles it and manages dependencies between packages. The eventual goal is to provide binaries, but MacPorts currently does not do so. The error about configure.cflags-append is occurring because you do not have the latest version of MacPorts. Please run "sudo port selfupdate" to get the latest version. Then try installing gphoto2 again. I have now added this to the FAQ: http://trac.macosforge.org/projects/macports/wiki/ FAQ#WhydoIgetanerroraboutconfigure.cflagsappend
Hi Ryan I tried doing a selfupdate from darwinports into macports, but got an error saying I didn't have a C compiler in my PATH. Any suggestions on how to fix this, the best one to use? Thanks Chris (error below) DarwinPorts base version 1.400 installed Downloaded MacPorts base version 1.442 Configuring, Building and Installing new MacPorts base Error: /opt/local/bin/port: selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 1 Command output: checking build system type... i686-apple-darwin8.8.5 checking host system type... i686-apple-darwin8.8.5 checking target system type... i686-apple-darwin8.8.5 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
Make sure that you have a recent version of XCode installed. It is available from developer.apple.com (registration is required). On 7 Jun 2007, at 05:36, Chris O'Shea wrote:
Hi Ryan
I tried doing a selfupdate from darwinports into macports, but got an error saying I didn't have a C compiler in my PATH. Any suggestions on how to fix this, the best one to use?
Thanks Chris
(error below)
DarwinPorts base version 1.400 installed Downloaded MacPorts base version 1.442 Configuring, Building and Installing new MacPorts base Error: /opt/local/bin/port: selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate1/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 1 Command output: checking build system type... i686-apple-darwin8.8.5 checking host system type... i686-apple-darwin8.8.5 checking target system type... i686-apple-darwin8.8.5 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Randall Wood rhwood@mac.com http://shyramblings.blogspot.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."
participants (3)
-
Chris O'Shea
-
Randall Wood
-
Ryan Schmidt