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

update makefile to add support for arm builds #476

Closed
wants to merge 1 commit into from

Conversation

bbinet
Copy link
Contributor

@bbinet bbinet commented Apr 28, 2014

I needed to update the makefile with this patch to be able to cross-compile influxdb to ARM architecture and to generate a package for the cubieboard arm board (should be the same for a raspberry pi).

@jvshahid
Copy link
Contributor

@bbinet thanks for contributing to InfluxDB. It's awesome to have an arm package. I'll review the pr asap and will merge it if everything looks fine on my side.

@bbinet
Copy link
Contributor Author

bbinet commented Apr 29, 2014

@jvshahid please note that I've tried to generate the deb package only (I don't know if building arm rpm actually works).

For information I'm using the cross compilation toolchain from rpi tools repository: https://github.com/raspberrypi/tools
And the generated deb package works perfectly on my cubieboard arm board.

@jvshahid jvshahid modified the milestones: 0.5.13, 0.6.0, 0.6.1, 0.6.2 Apr 30, 2014
@bbinet
Copy link
Contributor Author

bbinet commented May 12, 2014

Any chance this patch to be merged?

@jvshahid
Copy link
Contributor

@bbinet sorry, we were working on bug fixes all of last week. It's still on my todo list, so it will be merged soon.

@jvshahid jvshahid modified the milestones: Next release, 0.6.2 May 12, 2014
@jvshahid jvshahid closed this in 4e10062 May 24, 2014
@jvshahid
Copy link
Contributor

@bbinet so far I tested the new makefile on my dev machine which works perfectly. Our release vm is runnign centos and the packages I'm looking for aren't available so I'll have to look for a way to generate arm cross compiler. crosstool-ng looks promising. I'd like to give it a try and upload a package for you to try.

@bbinet
Copy link
Contributor Author

bbinet commented May 26, 2014

@jvshahid no problem, send me the arm package and I'll test it on my cubieboard arm board.

@jvshahid jvshahid modified the milestones: 0.7.1, Next release May 27, 2014
@jvshahid
Copy link
Contributor

Can you give the packages I uploaded a try and let us know how it works for you. You can find them here https://github.com/influxdb/influxdb/releases/tag/v0.7.0

@oroce
Copy link

oroce commented May 30, 2014

On rpi i'm getting wrong architecture error:

pi@raspberrypi /tmp $ sudo dpkg -i influxdb_0.7.0_armel.deb
dpkg: error processing influxdb_0.7.0_armel.deb (--install):
package architecture (armel) does not match system (armhf)
Errors were encountered while processing:
influxdb_0.7.0_armel.deb

uname:

pi@raspberrypi /tmp $ uname -a
Linux raspberrypi 3.12.19+ #684 PREEMPT Fri May 16 19:27:32 BST 2014 armv6l GNU/Linux

@bbinet
Copy link
Contributor Author

bbinet commented Jun 3, 2014

Sorry for my late aswer, I get the same error as @oroce on my cubieboard:

bruno@hl-mc-9999-dev: /tmp $ sudo dpkg -i influxdb_0.7.0_armel.deb 
dpkg: error processing influxdb_0.7.0_armel.deb (--install):
 package architecture (armel) does not match system (armhf)
Errors were encountered while processing:
 influxdb_0.7.0_armel.deb

My original patch would generate packages for the armhf architecture which should work for both the cubieboard and the raspberry pi.

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

Successfully merging this pull request may close these issues.

None yet

3 participants