Opened 10 years ago

Closed 10 years ago

#27994 closed defect (invalid)

Errors installing googlecl on max osx 10.6.6 with xcode 3.2.5 installed

Reported by: tsairox@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.2
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Schmidt))

I get the following errors when I try to port install googlecl:

Warning: Xcode does not appear to be installed; most ports will likely fail to build.
Error: Unable to open port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
Error: Unable to execute port: upgrade python26 failed
To report a bug, see <http://guide.macports.org/#project.tickets>

However, Xcode is installed and is version 3.2.5 and Mac OSX version is 10.6.6. What do I need to do from here to get googlecl installed?

Thanks,

tsairox

Change History (8)

comment:1 Changed 10 years ago by tsairox@…

Cc: tsairox@… added

Cc Me!

comment:2 Changed 10 years ago by ryandesign (Ryan Schmidt)

Cc: tsairox@… removed
Description: modified (diff)
Keywords: googlecl xcode removed

Xcode is either not installed properly (in which case reinstall Xcode, ensuring that you have not deselected the option for command line development, which is required for MacPorts), or you have installed Xcode in a nonstandard location (in which case inform MacPorts of that location using the developer_dir setting in macports.conf).

comment:3 Changed 10 years ago by jmroot (Joshua Root)

Component: portsbase
Resolution: invalid
Status: newclosed

It's not the latter, /usr/bin/make is missing.

comment:4 in reply to:  3 Changed 10 years ago by tsairox@…

Resolution: invalid
Status: closedreopened

Replying to jmr@…:

It's not the latter, /usr/bin/make is missing.

Thank you for your response jmr,

After creating the make directory in /usr/bin/, I get the following response when trying to install googlecl:

Macintosh:bin tsairox$ sudo port install googlecl
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for sqlite3
--->  Fetching sqlite3
--->  Attempting to fetch sqlite-autoconf-3070400.tar.gz from http://distfiles.macports.org/sqlite3
--->  Attempting to fetch sqlite-autoconf-3070400.tar.gz from http://www.sqlite.org/
--->  Verifying checksum(s) for sqlite3
--->  Extracting sqlite3
--->  Applying patches to sqlite3
--->  Configuring sqlite3
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for sqlite3 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade python26 failed
To report a bug, see <http://guide.macports.org/#project.tickets>

Looks like progress. What should I do from here?

Thanks,

tsairox

comment:5 Changed 10 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: reopenedclosed

make is an application from Xcode, not a directory. You need to install Xcode properly as ryandesign said.

comment:6 Changed 10 years ago by tsairox@…

Thanks everyone for your responses,

I did reinstall Xcode. I have figured it out through experience. It seems that for every error encountered, it is most important to read the log at /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXext/main.log and deal with each package individually when fetching them. It seems as though mac ports times out when trying to get dependencies from certain locations. Only when I fetched them individually, did this solve the problem. I now have successfully installed googlecl.

Hope this helps someone else....

Thank you,

tsairox

comment:7 Changed 10 years ago by dlamet@…

Resolution: invalid
Status: closedreopened

I also have this problem. I have XCode 3.4.2 installed on OS X 10.6.6. make was not located at /usr/bin/make, but I did find it at /Developer/usr/bin/make. Adding that path to my .bash_login didn't help.

I then created a symbolic link at /opt/local/bin. That seemed to just put things into a dangerous state.

engelbart:~ dlamet$ sudo port upgrade ruby
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  Computing dependencies for libiconv
--->  Fetching libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for libiconv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>
engelbart:~ dlamet$ ls /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXext/main.log
ls: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXext/main.log: No such file or directory

How does Ports determine whether XCode is properly installed or not?

comment:8 Changed 10 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.