-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install fails on cygwin #47
Comments
On Dec 10, 2018, at 12:56 PM, John Deighan ***@***.***> wrote:
Here is the last bit of output from ../configure:
../configure: line 4202: `LT_INIT(dlopen shared)’
First, thanks for including the entire output in the email. Deeply appreciated. The bad news is that it’s been forever since I used windows or cygwin, and I don’t have access to a window box, so this will be difficult to help with. And the error messages aren’t that helpful either:
extensions/bit/Makefile.am:36: error: Libtool library used but 'LIBTOOL' is undefined
extensions/bit/Makefile.am:36: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
extensions/bit/Makefile.am:36: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
extensions/bit/Makefile.am:36: If 'LT_INIT' is in 'configure.ac', make sure
extensions/bit/Makefile.am:36: its definition is in aclocal's search path.
My configure script says “LT_INIT(dlopen shared)” so the invocation’s good but the “make sure its definition is in aclocal’s search path” makes it sound like an installation issue.
Could you please try something like:
autoreconf --install -v -d --warnings=all
My output starts with:
aclocal: found macro LT_INIT in m4/libtool.m4: 61
aclocal: ignoring macro LT_INIT in /opt/local/share/aclocal/libtool.m4: 61
This file should have something like:
# LT_INIT([OPTIONS])
# ------------------
AC_DEFUN([LT_INIT],
[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
AC_BEFORE([$0], [LT_LANG])dnl
AC_BEFORE([$0], [LT_OUTPUT])dnl
AC_BEFORE([$0], [LTDL_INIT])dnl
m4_require([_LT_CHECK_BUILDDIR])dnl
The docs for LT_INIT don’t say anything specific for cygwin:
https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html#LT_005fINIT <https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html#LT_005fINIT>
https://www.gnu.org/software/libtool/manual/html_node/Configure-notes.html#Configure-notes <https://www.gnu.org/software/libtool/manual/html_node/Configure-notes.html#Configure-notes>
Does cygwin ship with libtool or do you have to installed it?
Thanks,
Phil
|
Cygwin did not come with libtool installed. I installed it, recloned the repo and got past the error. Unfortunately, make ended up failing. I'm attaching all the output, starting with removing the libslax directory. Next, I ran the command line that you sent me and it seems to report some problems. The output of that is short enough that I'll just paste it in here. Next, I'll see if something named 'autopoint' can be installed:
|
You have to be at the top of the source tree (not in the “build” dir) to run autoreconf.
Thanks,
Phil
… On Dec 10, 2018, at 3:07 PM, John Deighan ***@***.***> wrote:
Cygwin did not come with libtool installed. I installed it, recloned the repo and got past the error. Unfortunately, make ended up failing. I'm attaching all the output, starting with removing the libslax directory.
Next, I ran the command line that you sent me and it seems to report some problems. The output of that is short enough that I'll just paste it in here. Next, I'll see if something named 'autopoint' can be installed:
***@***.*** ~/libslax/build
$ autoreconf --install -v -d --warnings=all
autoreconf-2.69: running: /usr/bin/autoconf-2.69 --version | sed 1q >&2
autoconf (GNU Autoconf) 2.69
autoreconf-2.69: running: /usr/bin/autoheader-2.69 --version | sed 1q >&2
autoheader (GNU Autoconf) 2.69
autoreconf-2.69: running: automake --version | sed 1q >&2
automake (GNU automake) 1.15.1
autoreconf-2.69: running: aclocal --version | sed 1q >&2
aclocal (GNU automake) 1.15.1
autoreconf-2.69: running: autopoint --version | sed 1q >&2
sh: autopoint: command not found
autoreconf-2.69: running: libtoolize --version | sed 1q >&2
libtoolize (GNU libtool) 2.4.6
autoreconf-2.69: 'configure.ac' or 'configure.in' is required
temp.txt <https://github.com/Juniper/libslax/files/2664755/temp.txt>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#47 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ACLkOBpvkfQ3lTwFEeTzjNOk4VfWgWtHks5u3r7sgaJpZM4ZL4Kk>.
|
Oops... sorry. |
Here is the last bit of output from ../configure:
I've attached all the output from cygwin. I've installed all prerequisites, and then some. Just about anything that sounds like any of the required packages. It would be really great if someone could just provide a Windows binary so we wouldn't have to go through all this pain ;-)
temp.txt
The text was updated successfully, but these errors were encountered: