Hi,
In parallel of my segfault problems while i launch LMS 7.7.2 (http://forums.slimdevices.com/showth...amd64-freebsd), I'm trying to start from scratch with LMS 7.8
So my system is FreeNAS 8.2.0-RC1 in which i have a FreeBSD jail 8.2-RELEASE-p9
Everything below is happening inside the jail.
I've untared the logitechmediaserver-7.8.0-1342011222-FreeBSD.tgz package in /usr/local/
When i launch slimserver.pl, i get "lots of modules can't be loaded"
Normal, because the script is looking for them in CPAN/arch/5.14/amd64-freebsd/auto (since i'm running PERL 5.14.2)
So in order to get nice x64 modules for my distrib, I went to http://svn.slimdevices.com/repos/sli...k/vendor/CPAN/, downloaded everything to /usr/local/tmp/CPAN-7.8/
Made buildme.sh executable, and launched it.
And here is the error I'm going to have some help on in order to build everything :
Thanks in advance for anyone wanting to help me!Code:CC libavcodec/vp56.o /var/tmp//ccKn9WGQ.s: Assembler messages: /var/tmp//ccKn9WGQ.s:597: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression /var/tmp//ccKn9WGQ.s:1113: Error: `(%r8d,%edx)' is not a valid 64 bit base/index expression /var/tmp//ccKn9WGQ.s:1280: Error: `(%r8d,%edx)' is not a valid 64 bit base/index expression /var/tmp//ccKn9WGQ.s:1498: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccKn9WGQ.s:3664: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression /var/tmp//ccKn9WGQ.s:3990: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression gmake: *** [libavcodec/vp56.o] Error 1 make failed
Results 1 to 10 of 11
-
2012-07-16, 14:24 #1Junior Member
- Join Date
- Sep 2010
- Posts
- 12
Problems building LMS-7.8.0-1342011222-FreeBSD
-
2012-07-16, 15:56 #2Junior Member
- Join Date
- Sep 2010
- Posts
- 12
OK google was my friend, it explained me maybe i had this error because my gcc (2.4.1) was too old.
I've upgraded to the latest fresh port (4.6.3) and everything compiled ok.
-
2012-08-03, 08:30 #3Junior Member
- Join Date
- Apr 2009
- Posts
- 8
I trying the same, but can't get buildme.sh to use the newly installed gcc, even though I changed /etc/make.conf???
How did you succeed?
-
2012-08-03, 11:01 #4
/etc/make.conf is used by the FreeBSD build and ports systems, it's not looked at by GNU make (aka gmake).
I managed to get past that problem by temporarily renaming cc and symlinking to gcc46, which compiles everything OK but croaks at the link stage (something about incompatible relocation types and to recompile with -fPIC, which everything already is).
Using libavcodec from ffmpeg 0.11.1 (LMS has just got round to 0.8), you get a clean compile with stock GCC 4.2, but the linker problem persists, which hints that it's something odd in LMS, but I'm now in too deep for comfort.
My 64-bit NAS is beefy enough to support a pure 32-bit jail, where I'd run perl 5.8 and use a nightly, if that were my only option. Or pick up a nearly-free PC and bung a headless Debian on it, NFS'ed to the NAS.
Why'm I typing this? It's all terribly depressing.Don't push your love too far
Your wounds won't leave a scar
Right now is where you are
In a broken dream.
-
2012-08-03, 16:05 #5Junior Member
- Join Date
- Apr 2009
- Posts
- 8
Thanks for the help.
I managed to start the compilation with gcc47, but then I run into exactly the same linker problem...bummer!
Guess I will try a 32bit jail, as you do, don't really wanna set up a second machine.
Thanks, I hoped it would work using a newer gcc.
-
2012-08-25, 02:33 #6Junior Member
- Join Date
- Nov 2011
- Posts
- 7
Any pointers on setting up a 32-bit jail for LMS on Freebsd 9
-
2012-08-25, 07:47 #7
I'm afraid I've sort of jumped ship. I went the other route: a small, headless Debian installation. Which went so well I'm changing my "production" LMS this weekend.
The FreeBSD-flavoured brainfart at http://www.xenopsyche.com/ip/lms/README is fairly recent, and there's a 64-bit in there which kinda works. Have you tried that?
I'll probably be compelled to fiddle with the 64-bit FreeBSD stuff again at some point, but I don't know when.Don't push your love too far
Your wounds won't leave a scar
Right now is where you are
In a broken dream.
-
2012-08-26, 08:51 #8Junior Member
- Join Date
- Nov 2011
- Posts
- 7
I've freebsd 9.0-release running at present with the squeezeboxserver from ports. I'd like a newer version of the server. Which of the archives at http://www.xenopsyche.com/ip/lms/ should I try? Is it okay to use logitechmediaserver-7.7.3-33978-perl-5.12.4-FreeBSD-8.3-STABLE-amd64.tgz even though it says 'Freebsd 8.3'?
Basically I'd like any server after 7.6, whether squeezeboxserver or LMS.
-
2012-08-26, 09:58 #9Don't push your love too far
Your wounds won't leave a scar
Right now is where you are
In a broken dream.
-
2012-08-29, 13:56 #10Junior Member
- Join Date
- Nov 2011
- Posts
- 7
Some more pointers needed
Could you describe in more details the steps needed? I've tried installing a 7.7 and a 7.6 and both failed. 7.6 failed with:
"Use of inherited AUTOLOAD for non-method YAML::Syck:
umpYAML() is deprecated at /usr/local/squeezeboxserver/CPAN/YAML/Syck.pm line 65.
The following modules failed to load: YAML::Syck"
/.7 failed with:
'The following modules failed to load: YAML::XS'
Thanks, Stuart

Reply With Quote

