Skip to content
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

Centos 7 script doesn't check/install autoreconf dependancy #15

Open
drakino opened this issue Oct 26, 2016 · 9 comments
Open

Centos 7 script doesn't check/install autoreconf dependancy #15

drakino opened this issue Oct 26, 2016 · 9 comments

Comments

@drakino
Copy link

drakino commented Oct 26, 2016

The swiftbuild-centos7.sh script fails on a minimal install of CentOS 7 due to missing autoreconf. Adding a yum install autoconf should take care of it, sourcing the package from the base CentOS 7 repo.

Mostly filing this as I'm not currently able to fork and make the change myself.

@rbukovansky
Copy link
Contributor

That's probably for the reason I have CentOS7 installed in VirtualBox VM and had installed all tools needed to build VB Guest additions.

I will make PR for it. Thanks for catching it.

rbukovansky added a commit to rbukovansky/fedora-swift that referenced this issue Oct 27, 2016
@rbukovansky
Copy link
Contributor

@drakino Could you please retest? Thanks.

@drakino
Copy link
Author

drakino commented Oct 27, 2016

Confirmed autoreconf is on the system after the setup step. Build step is running and I'll be able to check back on it later to see if it progresses past where it stopped yesterday.

Have a VM also set up to help with this now, and a snapshot before running the scripts after a fresh minimal install.

@drakino
Copy link
Author

drakino commented Oct 28, 2016

Build step failed, this time looking for aclocal and not finding it.

Resetting the VM back to the snapshot, and I'm going to have the script also yum install automake to make sure aclocal is on the system. Will report back with how it goes.

@rbukovansky
Copy link
Contributor

#18 - done

@rbukovansky
Copy link
Contributor

Additional packages were added. Please retest again if you have already done so. Thanks.

@rbukovansky
Copy link
Contributor

Well, I have tried to move on with this further, but I got to place where I need to replace libstdc++, which is no go... 👎

But let me try something first...

@drakino
Copy link
Author

drakino commented Nov 2, 2016

My test with installing automake to get aclocal managed to progress further. I got a new error unrelated to a missing package.

Were you headed down the libstdc++ replacement route due to initially seeing errors about Libtool library used but 'LIBTOOL' is undefined?

That's the initial error I get once autoreconf and aclocal dependancies were taken care of, haven't dug deeper yet.

@rbukovansky
Copy link
Contributor

rbukovansky commented Nov 2, 2016

Well, it was few steps further. You will need to install these:

Solves LIBTOOL:

https://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/x86_64/os/Packages/l/libtool-2.4.6-11.fc24.x86_64.rpm

Solves kqueue missing:

https://copr-be.cloud.fedoraproject.org/results/lebauce/Darling/fedora-22-x86_64/libkqueue-2.0.1-1/libkqueue-2.0.1-1.x86_64.rpm
https://copr-be.cloud.fedoraproject.org/results/lebauce/Darling/fedora-22-x86_64/libkqueue-2.0.1-1/libkqueue-devel-2.0.1-1.x86_64.rpm

This should resolve issue with curl/curl.h file:

https://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/x86_64/os/Packages/l/libcurl-7.47.1-4.fc24.x86_64.rpm
https://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/x86_64/os/Packages/l/libcurl-devel-7.47.1-4.fc24.x86_64.rpm

but you will get some strange errors about symbols in CURL, when you try to build Swift.
That should be solved by these:

https://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/x86_64/os/Packages/l/libpsl-0.13.0-1.fc24.x86_64.rpm
https://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/x86_64/os/Packages/l/libssh2-1.7.0-5.fc24.x86_64.rpm
https://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/x86_64/os/Packages/l/libunistring-0.9.4-3.fc24.x86_64.rpm

but they lead to libstdc++ replacement. But I want to "reexplore" more about those strange symbol errors in curl to see if they could be resolved without the last three packages...

BTW I'm starting to be little bit afraid that RH/CentOS is little bit old for demands of Swift... 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants