[GAP Forum] [GAP Support] Fwd: Problem installing GAP 4.5 using BOB

Max Neunhoeffer neunhoef at mcs.st-and.ac.uk
Thu Oct 25 09:58:59 BST 2012


Hi Sandeep and all,

indeed BOB's "default target directory" is the directory in which the
"bob" executable is. If you clicked on the bob executable in the dmg
file it probably tried to write to the dmg file which failed.

Alexander's advice is right, copy "bob" to some writable directory and
execute it there. If you run it from the command line you can also use
the "-t" switch to specify the target directory explicitly.

I hope this helps.

Cheers,
  Max.

P.S.: I will also upgrade the instructions to the latest of Apple's
(successful) tries to annoy me.

On Thu, Oct 25, 2012 at 08:51:45AM +0100, Alexander Konovalov wrote:
> Hi Sandeep,
> 
> I presume that you're clicking in the script after mounting the .dmg file? 
> I suspect that it tries to write at the same location. On Lion, it should
> use the user's home directory, but just in case this feature does not work
> on a newer system, could you try to copy the script to some writable place 
> and run there?
> 
> Best wishes,
> Alexander
> 
> 
> 
> On 25 Oct 2012, at 01:57, Sandeep Murthy wrote:
> 
> > Hi,
> > 
> > what is the target directory of the 'bob' script?
> > I've received the following message in the terminal
> > on running this script:
> > 
> > Cannot create log file "bob.log" in target directory. Stopping.
> > 
> > I am guessing it doesn't have write access in the
> > target directory, which is ...
> > 
> > Sandeep.
> > 
> > 
> > 
> > 
> > ---------- Forwarded message ----------
> > From: Sandeep Murthy <sandeepr.murthy at gmail.com>
> > Date: 25 October 2012 01:46
> > Subject: Re: [GAP Forum] Problem installing GAP 4.5 using BOB
> > To: Jan de Muijnck-Hughes <jfdm at st-andrews.ac.uk>, GAP forum <
> > forum at gap-system.org>
> > Cc: "Justin C. Walker" <justin at mac.com>
> > 
> > 
> > Hi,
> > 
> > OK, I found the component download within
> > the preferences, and it is downloading the
> > command line tools.
> > 
> > Hopefully it will work now.
> > 
> > Thanks.
> > 
> > Sandeep.
> > 
> > On 25 Oct 2012, at 01:36, Jan de Muijnck-Hughes <jfdm at st-andrews.ac.uk>
> > wrote:
> > 
> >> Sandeep;
> >> 
> >> One thing to note when installing XCode version 4.3 and later is that the
> > command line tools are not installed by default. To install the command
> > line tools, you have to download them using the 'Components' tab of the
> > 'Downloads' preference pane in the preferences for Xcode.
> >> 
> >> The developer website for Xcode has more information.
> >> 
> >> 
> > http://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_4_3.html#//apple_ref/doc/uid/1006-SW1
> >> 
> >> ------------- -------- ----- --- -- - -
> >> Thanking you for your time.
> >> 
> >> Jan de Muijnck-Hughes
> >> 
> >> PhD Candidate
> >> School of Computer Science
> >> University of St Andrews
> >> 
> >> tel: +44 (0)1334 461624
> >> http://www.cs.st-andrews.ac.uk/~jfdm
> >> 
> >> 
> >> The University of St Andrews is a charity
> >> registered in Scotland No.SCO13532
> >> 
> >> On 25 Oct 2012, at 00:59, Sandeep Murthy <sandeepr.murthy at gmail.com>
> >> wrote:
> >> 
> >>> Hi,
> >>> 
> >>> I am unable to install GAP 4.5 using BOB.
> >>> 
> >>> I think I followed all the instructions on this page:
> >>> 
> >>> 
> > http://www.cs.st-andrews.ac.uk/~neunhoef/Computer/Software/Gap/bob.html#installprereq
> >>> .
> >>> 
> >>> Firstly, I am running Mac OS X 10.8.2 on a new system, which did not have
> >>> Xcode.  So I started by installing XCode, and then installing MacPorts.
> >>> After
> >>> this I downloaded bob-osx.dmg, and then ran that.  I then ran the 'bob'
> >>> script,
> >>> but I got the following output:
> >>> 
> >>> 
> > --------------------------------------------------------------------------------------------------------------------------------------------------
> >>> 
> >>> sudo port install readline +universal ncurses +universal gawk wget
> >>> xorg-libX11 xorg-libXaw
> >>> 
> >>> WARNING: Improper use of the sudo command could lead to data loss
> >>> or the deletion of important system files. Please double-check your
> >>> typing when using sudo. Type "man sudo" for more information.
> >>> 
> >>> To proceed, enter your password, or type Ctrl-C to abort.
> >>> 
> >>> Password:
> >>> Warning: The Command Line Tools for Xcode don't appear to be installed;
> >>> most ports will likely fail to build.
> >>> Warning: See http://guide.macports.org/chunked/installing.xcode.html for
> >>> more information.
> >>> --->  Computing dependencies for readline
> >>> --->  Dependencies to be installed: ncurses
> >>> --->  Fetching archive for ncurses
> >>> --->  Attempting to fetch
> >>> ncurses-5.9_1+universal.darwin_12.i386-x86_64.tbz2 from
> >>> http://lil.fr.packages.macports.org/ncurses
> >>> --->  Attempting to fetch
> >>> ncurses-5.9_1+universal.darwin_12.i386-x86_64.tbz2 from
> >>> http://mse.uk.packages.macports.org/sites/packages.macports.org/ncurses
> >>> --->  Attempting to fetch
> >>> ncurses-5.9_1+universal.darwin_12.i386-x86_64.tbz2 from
> >>> http://packages.macports.org/ncurses
> >>> --->  Fetching distfiles for ncurses
> >>> --->  Attempting to fetch ncurses-5.9.tar.gz from
> >>> ftp://ftp.lip6.fr/pub/gnu/ncurses
> >>> --->  Verifying checksum(s) for ncurses
> >>> --->  Extracting ncurses
> >>> --->  Applying patches to ncurses
> >>> --->  Configuring ncurses
> >>> Error: org.macports.configure for port ncurses returned: configure
> > failure:
> >>> command execution failed
> >>> Error: Failed to install ncurses
> >>> Please see the log file for port ncurses for details:
> >>> 
> > /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log
> >>> Error: The following dependencies were not installed: ncurses
> >>> To report a bug, follow the instructions in the guide:
> >>> http://guide.macports.org/#project.tickets
> >>> Error: Processing of port readline failed
> >>> 
> >>> 
> >>> 
> > --------------------------------------------------------------------------------------------------------------------------------------------------
> >>> 
> >>> I don't know what the problem here is.  Firstly, it is saying that Xcode
> > is
> >>> lacking some components,
> >>> but it is up to date.  Could it be a problem with file permissions?  I
> > have
> >>> turned-on FileVault (the file
> >>> encryption system), and firewall, and have selected a security option
> > which
> >>> only allows those applications
> >>> to be run which have been downloaded from the Mac App store or from
> >>> "identified developers".
> >>> 
> >>> Any help or suggestions as to how to proceed would be greatly
> > appreciated.
> >>> 
> >>> Sincerely, Sandeep.
> >>> _______________________________________________
> >>> Forum mailing list
> >>> Forum at mail.gap-system.org
> >>> http://mail.gap-system.org/mailman/listinfo/forum
> >> 
> > _______________________________________________
> > Forum mailing list
> > Forum at mail.gap-system.org
> > http://mail.gap-system.org/mailman/listinfo/forum
> 
> 
> --
> Dr. Alexander Konovalov               School of Computer Science
> & Centre for Interdisciplinary Research in Computational Algebra
> University of St Andrews                 Tel +44/0 (1334) 461633
> http://www.cs.st-andrews.ac.uk/~alexk    Fax +44/0 (1334) 463278
> The University of St Andrews is a charity registered in Scotland:No.SC013532
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Support mailing list
> Support at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/support

-- 
Max Neunhoeffer              http://www-groups.mcs.st-and.ac.uk/~neunhoef/
> > > > > > > > > > >  May the Source be with you! < < < < < < < < < < < < 
The University of St Andrews is a registered Scottish charity: No SC013532




More information about the Forum mailing list