Posted on 08-23-2012 01:25 AM
For the life of me I can't seem to compile duti...
Does anyone have a compiled version 10.7 available for download?
Thanks
Solved! Go to Solution.
Posted on 08-24-2012 12:56 AM
It compiles fine on my 10.8 system... just try it: https://www.dropbox.com/s/d1yod2b8exndg3w/duti.zip
Posted on 08-23-2012 11:15 PM
??
Posted on 08-24-2012 12:56 AM
It compiles fine on my 10.8 system... just try it: https://www.dropbox.com/s/d1yod2b8exndg3w/duti.zip
Posted on 09-05-2012 01:53 PM
Thanks mate, now off to tell PDFs to open with Adobe Acrobat Reader
Posted on 09-18-2012 05:12 AM
Can someone please repost a compiled version somewhere? I'm getting an error when trying to configure:
btoms$ ./configure
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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.
Config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by dh configure 1.5.1, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = xxxxx.local
uname -m = x86_64
uname -r = 11.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 120 tasks, 705 threads, 4 processors
Load average: 1.04, Mach factor: 3.00
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1693: checking for gawk
configure:1723: result: no
configure:1693: checking for mawk
configure:1723: result: no
configure:1693: checking for nawk
configure:1723: result: no
configure:1693: checking for awk
configure:1709: found /usr/bin/awk
configure:1720: result: awk
configure:1779: checking for gcc
configure:1809: result: no
configure:1876: checking for cc
configure:1923: result: no
configure:1979: checking for cl.exe
configure:2009: result: no
configure:2038: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_AWK=awk
## ----------------- ##
## Output variables. ##
## ----------------- ##
AWK='awk'
CC=''
CFLAGS=''
CPPFLAGS=''
DEFS=''
ECHO_C='ECHO_N=''
ECHO_T=''
EXEEXT=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
OPTOPTS=''
PACKAGE_BUGREPORT='nosupport@all'
PACKAGE_NAME='dh'
PACKAGE_STRING='dh 1.5.1'
PACKAGE_TARNAME='dh'
PACKAGE_VERSION='1.5.1'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_date='September 18, 2012'
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
macosx_arches=''
macosx_dep_target=''
macosx_sdk=''
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "dh"
#define PACKAGE_TARNAME "dh"
#define PACKAGE_VERSION "1.5.1"
#define PACKAGE_STRING "dh 1.5.1"
#define PACKAGE_BUGREPORT "nosupport@all"
configure: exit 1
Posted on 09-18-2012 07:23 AM
@cvgs wrote:
It compiles fine on my 10.8 system... just try it: https://www.dropbox.com/s/d1yod2b8exndg3w/duti.zip
For a moment there, I felt like a frustrated parent at the shopping mall on Christmas Eve, just after someone swiped the last Furby...
Posted on 09-18-2012 07:25 AM
ah yes, but click the link & you get:
Nothing Here The file you are looking for has been deleted or moved.
Posted on 10-06-2012 01:31 PM
Problem with compiling was that i had the app store version of Xcode, as the command line tools are not installed by default.
Posted on 12-12-2013 11:46 AM
Sorry to dig up an old thread, but I'm wondering if someone can guide me on the steps to compile duti? I have the command line tools installed for Xcode, but I can't even get past step 1. The documentation for compiling on the git page is pretty lacking in how to do this. Just a couple of lines with no explanation of the process.
Anyone whose done it care to shed a little light on it, so I don't waste the better part of a day trying to figure it out?
Thanks in advance.
Posted on 12-12-2013 01:03 PM
FWIW, I used Homebrew (https://github.com/mxcl/homebrew) on a 10.8 system to compile and install duti.
I then used https://github.com/timsutton/brew-pkg, a Homebrew custom command that builds OS X installer packages, to build a package which I was able to push out to clients.
Posted on 12-12-2013 01:12 PM
Thanks @timsutton! I'll give those a shot. Appreciate the response.
Posted on 12-12-2013 03:38 PM
1) Download the source files (.tar.gz) from https://github.com/fitterhappier/duti/releases
2) Install Xcode and command line tools (you need both. Command line tools alone is not enough)
3) Unzip the .tar.gz file to Desktop (e.g. duti-duti-1.5.2)
$ cd Desktop/duti-duti-1.5.2
$ ./configure
$ make
$ sudo make install
This will result of copying these duti files to these given locations
/usr/local/bin
/usr/local/share/man/man1
Posted on 12-01-2014 02:09 PM
Any luck with Yosemite?
Posted on 12-01-2014 03:16 PM
@tkimpton][/url][/url This is where I downloaded duti from (1.5.0, not latest version), just open to extract a .pkg
http://sourceforge.net/projects/duti/files/duti/duti-1.5.0/duti-1.5.0.pkg.tar.gz/download?use_mirror=liquidtelecom
It works, so it's good enough for me, never had to worry about compiling.
Edit: Just tried compiling 1.5.2 using the instructions @Kumarasinghe][/url gave above, worked fine on Yosemite.
Edit2: Nope, I'm a liar, doesn't compile on Yosemite, but 1.5.2 seems to continue working on Yosemite
Posted on 12-01-2014 11:12 PM
no luck with 1.5.0 on Yosemite
1.5.2 not compiling, bug logged and addressed but site not updated with the fix
https://github.com/Homebrew/homebrew/issues/33009
duti-duti-1.5.2 tkimpton$ ./configure
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-apple-darwin14.0.0
checking host system type... i386-apple-darwin14.0.0
checking target system type... i386-apple-darwin14.0.0
checking which SDK to use... configure: error: darwin14.0.0 is not a supported system
TimKs-Mac-mini:duti-duti-1.5.2 tkimpton$ sudo make install
Password:
make: *** No rule to make target `install'. Stop.
TimKs-Mac-mini:duti-duti-1.5.2 tkimpton$
Posted on 12-02-2014 02:00 PM
@tkimpton Are you able to compile it on a previous OS version and capture the result in composer and then run the package on Yosemite? That's what I am doing currently and it seems to be working.
Posted on 12-02-2014 03:24 PM
I'm successful using a copy of 1.5.2 that I compiled with 10.9 on Yosemite without issue.
Now, if only we can figure out how to run ```
duti -s org.mozilla.firefox http
``` to set the default browser in Yosemite. In previous OS's this would change the default http file handler to Firefox without issue. With Yosemite, the command runs but then prompts a dialog box asking if you want to change your default browser. This causes the command to fail when executed through a script.
Posted on 12-04-2014 05:50 AM
New version 1.5.3 released!
http://duti.org/
Posted on 04-18-2016 11:14 PM
@Kumarasinghe
YOUR THE MAN!!!!!!
For the life of me... I couldn't find a step by step set of instructions..... THANK YOU !!!!
Posted on 08-24-2016 01:47 PM
FWIW, our CCE instructor updated duti 1.5.3 so it supports El Capitan.
Basically add this to ./configure file:
darwin15*)
dep_target="10.11"
;;
Posted on 08-24-2016 01:53 PM
Homebrew also has this (and Sierra) fixes in:
https://patch-diff.githubusercontent.com/raw/moretension/duti/pull/20.patch
Posted on 09-16-2016 08:06 AM
so brew install duti includes the fixes?
Posted on 09-19-2016 08:07 AM
Yes. You can run brew cat duti
to see for yourself.
Posted on 03-16-2017 04:44 PM
Hey Guys,
Binary in PKG format created with Composer. Used 10.12.3 to compile.
[https://www.dropbox.com/s/w5wsxapxkqxc7hq/duti.pkg?dl=0](link URL)
I have deployed this on 10.12.3 via policy and working.
Thought it might be useful.
Posted on 04-25-2017 02:04 PM
@datachild can you repost your link? Getting a 404 error.
Posted on 04-26-2017 04:42 AM
Posted on 04-26-2017 05:24 AM
Thanks. That's the Ave that I ended up going down. This site also had a good write-up
https://technology.siprep.org/using-duti-to-script-default-applications-for-macs/