Re: [gtk-osx-users] Failure about the building for the gtk



On Wed, Oct 28, 2015 at 6:40 PM, Allin Cottrell <cottrell wfu edu> wrote:
On Wed, 28 Oct 2015, John Ralls wrote:

On Oct 28, 2015, at 7:19 AM, Tom H <tomhson yahoo com> wrote:

Hi,everybody,
I have down the file"gtk-osx-build-setup.sh" into my home directory.And I wanna build the gtk with the command:$ sh gtk-osx-build-setup.sh But I encounter error. Why?And how could I fix the problem?Thank you!
$ sh gtk-osx-build-setup.sh
Checking out jhbuild (07b5a7d) from git...
Cloning into 'jhbuild'...
remote: Counting objects: 42422, done.
remote: Compressing objects: 100% (12580/12580), done.
remote: Total 42422 (delta 32682), reused 38608 (delta 29676)
Receiving objects: 100% (42422/42422), 8.77 MiB | 224.00 KiB/s, done.
Resolving deltas: 100% (32682/32682), done.
Checking connectivity... done.
Switched to a new branch 'stable'
Applying: Bug 700557 - autoreconf -i fails in cases of ltmain.sh mismatch
Installing jhbuild...
gnome-autogen.sh not available
yelp-tools not available
Configuring jhbuild without autotools
Now type `make' to compile jhbuild
mkdir: /Users/kevin/.local/bin: Not a directory
make: *** [install] Error 1
Jhbuild installation failed

Hmm, that’s odd. It’s actually calling mkdir -p, which shouldn’t issue that error. What happens if you try to create that directory by hand?

I guess the script might fail in that way ("Not a directory") if there already existed a plain file, not a directory, by the name of
/Users/kevin/.local or /Users/kevin/.local/bin. Unusual but not impossible!

This can easily happen when something copies something to a directory that doesn't exist but whose parent does: if "~/.local" exists, "~/.local/bin" doesn't, and an unwitting person or script assumes "~/.local/bin" exists and does "cp somefile ~/.local/bin", then "~/.local/bin" will be a plain file after that.
--
Philip


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]