Re: Compiling for FreeBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 01, 2015 at 10:42:57AM +0100, Willem Jan Withagen wrote:
> On 30-11-2015 17:20, Gregory Farnum wrote:
> >>Installed the results:
> >>gmake install
> >>
> >>And looked at what it delivered:
> >>         zfs diff <fs-en>
> >>
> >>And I have to be honest that I'm not really enjoying all the ceph-test
> >>stuff in my /usr/local/bin....
> >>Would prefer it to go into something like:
> >>         /usr/local/libexec/ceph/tests
> >>or
> >>         /usr/local/share/ceph/tests
> >>
> >>Not sure if this is possible without disrupting the automated testing.
> >
> >As far as I know, none of what we do upstream relies on "make install"
> >and I don't think it's very well-maintained. You could make some
> >changes and submit a PR — if it does break something it should show up
> >in the autobuilder bot.
> 
> Well got that all compiled and installed.
> 
> Fixed a startup problem in /usr/local/bin/ceph's python with an unknown
> error value. So that looks to run.
> 
> Created a config, and acompanying directories.
> 
> And now for the real work:
> Run:
> 	ceph-mon -i freetest -d --debug_mon 10 --cluster digiceph -c
> /etc/ceph/ceph.conf
> 
> Which bombs out with:
> 2015-12-01 10:32:41.877243 804015000  0 ceph version 10.0.0-677-gd704c54
> (d704c54b7923ef7265fa27018e9411d8deb463b3), process (unknown), pid 93896
> 2015-12-01 10:32:41.879339 804015000 -1 load
> dlopen(/usr/local/lib/ceph/erasure-code/libec_jerasure.so):
> /usr/local/lib/ceph/erasure-code/libec_jerasure.so: Undefined symbol
> "ceph_arch_neon"
> 
> So of to find where ceph_arch_neon is, and why it seems not defined.
> Perhaps as simple as loading the shared libs??

You have to add -export-dynamic to LDFLAGS, something like in this
patch:

https://github.com/trociny/ceph/commit/dcee0c0635d37f2b36257c55a3cc69d05b5afe5e#diff-ef3c0ccbdde56cca822801c6ef1d289aR79

Also, you don't have to install binaries just to test if they work. As
I wrote previously:

cd src
./vstart.sh

It will start a dev cluster for you using binaries from the build
dir. You can check if it runs with:

./ceph -s

-- 
Mykola Golub
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux