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

rbx-2.5.0 won't build on FreeBSD 10 #3281

Closed
rakaur opened this issue Jan 30, 2015 · 2 comments
Closed

rbx-2.5.0 won't build on FreeBSD 10 #3281

rakaur opened this issue Jan 30, 2015 · 2 comments
Milestone

Comments

@rakaur
Copy link

rakaur commented Jan 30, 2015

FreeBSD 10 uses clang for the default system compiler. The first error was about no gcc, so I passed these options rvm install rbx-2.5.0 -- --cc clang --cxx clang++. After this it complained about not being able to find llvm-config, so I installed it from /usr/ports/devel/llvm35. You can either use pkg install devel/llvm35 or you can install it from the port directory mentioned above with make install distclean. There are other versions of llvm, but the complaint mentioned it only supports 3.0-3.5. Even after this it will continue to not find llvm-config because it's actually installed as /usr/local/bin/llvm-config35 so I created a symlink with sudo ln -s /usr/local/bin/llvm-config35 /usr/local/bin/llvm-config.

Now that all of that is taken care of, the build still fails. I've been told this might be a problem with rbx itself, but the error that occurs can be found at this gist.

Thanks, and good luck.

@rakaur
Copy link
Author

rakaur commented Jan 31, 2015

As it turns out, gmake wasn't installed. I hate gmake. I don't know why rvm or rbx didn't complain about it not being installed, probably because they assume if make is present it must be gmake, but unless you're on Linux it's going to be BSD make or some other make on any other platform. Most Unix OSes are not GNU userlands, people! :)

Below is a list of all the packages I had installed.

GeoIP-1.6.4                    Find the country that any IP address or hostname originates from
autoconf-2.69                  Automatically configure source code on many Un*x platforms
autoconf-wrapper-20131203      Wrapper script for GNU autoconf
automake-1.15                  GNU Standards-compliant Makefile generator
automake-wrapper-20131203      Wrapper script for GNU automake
bash-4.3.33                    The GNU Project's Bourne Again SHell
bind910-9.10.1P1_1             BIND DNS suite with updated DNSSEC and DNS64
bison-2.7.1,1                  Parser generator from FSF, (mostly) compatible with Yacc
ca_root_nss-3.17.3_1           The root certificate bundle from the Mozilla Project
cherokee-1.2.104               Fast and flexible web server
curl-7.40.0                    Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
cvsps-2.1_1                    Create patchset information from CVS
expat-2.1.0_2                  XML 1.0 parser written in C
gdbm-1.11_2                    GNU database manager
gettext-runtime-0.19.4         GNU gettext runtime libraries and programs
git-2.2.2_1                    Distributed source code management tool
glib-2.42.1                    Some useful routines of C programming (current stable version)
gmake-4.1_1                    GNU version of 'make' utility
idnkit-1.0_5                   Library to handle internationalized domain names
indexinfo-0.2.2                Utility to regenerate the GNU info page index
irssi-0.8.17_1                 Modular IRC client with many features
libffi-3.2.1                   Foreign Function Interface
libiconv-1.14_6                Character set conversion library
libtool-2.4.5                  Generic shared library support script
libxml2-2.9.2_2                XML parser library for GNOME
libyaml-0.1.6_2                YAML 1.1 parser and emitter written in C
llvm35-3.5.1                   Low Level Virtual Machine
m4-1.4.17_1,1                  GNU m4
p5-Authen-SASL-2.16_1          Perl5 module for SASL authentication
p5-Digest-HMAC-1.03_1          Perl5 interface to HMAC Message-Digest Algorithms
p5-Error-0.17022_1             Error/exception handling in object-oriented programming style
p5-GSSAPI-0.28_1               Perl extension providing access to the GSSAPIv2 library
p5-IO-Socket-IP-0.36           Drop-in replacement for IO::Socket::INET supporting IPv4 and IPv6
p5-IO-Socket-SSL-2.009         Perl5 interface to SSL sockets
p5-Mozilla-CA-20130114_1       Perl extension for Mozilla CA cert bundle in PEM format
p5-Net-SMTP-SSL-1.01_3         SSL support for Net::SMTP
p5-Net-SSLeay-1.68             Perl5 interface to SSL
p5-Socket-2.016_1              Networking constants and support functions
pcre-8.35_2                    Perl Compatible Regular Expressions library
perl5-5.18.4_11                Practical Extraction and Report Language
pkg-1.4.7                      Package manager
pkg_cleanup-2.1                Interactive program for deinstalling 'leaf' packages
portmaster-3.17.7              Manage your ports without external databases or languages
python27-2.7.9                 Interpreted object-oriented programming language
readline-6.3.8                 Library for editing command lines as they are typed
screen-4.2.1_3                 Multi-screen window manager
sqlite3-3.8.8                  SQL database engine in a C library
sudo-1.8.11.p1                 Allow others to run commands as root

@rys
Copy link
Contributor

rys commented Feb 18, 2015

FIxed by #3307

@rys rys closed this as completed Feb 18, 2015
@pkuczynski pkuczynski modified the milestone: rvm-1.27.0 Nov 8, 2016
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

3 participants