-
Notifications
You must be signed in to change notification settings - Fork 44
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
Build changes cross compile #161
base: master
Are you sure you want to change the base?
Conversation
Some work to make the build be more cross-compile compliant. Hopefully works on OSX and Ubuntu 64bit.
Not looked into it, but I'm getting:
|
That's strange it built fine for me on OSX, but saying that I found I had to do Apart from the the upgrade of libssh this line is new, so it might be worth removing that to see if it builds. :
Edit: building output: Perhaps:
Edit: |
What's your output if you run:
? Mine is:
|
-ldl troubles? |
patch?:
|
@quarnster
This is based on your master branch which is behind but seemed easier to add the changes to. I made sure I kept your recent changes (curl), and addressed the sed/gsed issues so it should build on linux or OSX fine.
The main issue I was having on Ubuntu 32 and 64bit was some of the libs linking to the built in libc iconv. I found I had to make sure zlib, libiconv and ncurses were build first so the libs found the external libiconv. Also had to export it in the configure line so Kodi found it too. Mysql config also exported in the configure so no more sudo'ing to be done when building.
Goal was to build the libs on OSX and Ubuntu 64 & 32bit without the iconv and gettext issues, I think I have succeeded.
I have tested on OSX Yosemite, prerequisites as follows:
Ubuntu 12.04 LTS 32bit & 15.04 LTS (but with new toolchain).
Updated, libssh, ffmpeg (add gnutls, make shared), taglib (static), pcre (static), downgrade libass (for now, going to retry building with the new version with yasm enabled, had problems before but should be ok now), remove enca as it isn't used at all apparently.
You can now build mysql if you want it as I have managed to get it to cross-compile, along with afpfs-ng. PVR built fine too.
I will update my github with these changes and I will do all builds on OSX Yosemite now and in the future as after testing it appears to run slightly better. A fair bit of work but worth it in the end.
Hopefully it builds OK for you...