fydo wrote: 
> Ahoy there! Here's the change that I made. Find this code in
> buildme.sh:
> 
> > 
Code:
--------------------
  >   > # FreeBSD amd64 needs arch option
  > if [ "$ARCH" = "amd64-freebsd" ]; then
  > FFOPTS="$FFOPTS --arch=x64"
  > fi
--------------------
> > 
> 
> And comment out the if / fi lines:
> 
> > 
Code:
--------------------
  >   >  # FreeBSD amd64 needs arch option
  > #    if [ "$ARCH" = "amd64-freebsd" ]; then
  > FFOPTS="$FFOPTS --arch=x64"
  > #   fi
--------------------
> > 
> 
> Of course, if you're not on a 64-bit system then don't do this, as
> making this change will add the x64 compile flag no matter what.
> 
> Hope that helps!
> -- Fydo

Thanks for the tip. Unfortunately that isn't the answer for this one:


Code:
--------------------
    WARNING: Setting ABSTRACT via file 'lib/Media/Scan.pm' failed               
                                                        
  at /usr/local/lib/perl5/5.20/ExtUtils/MakeMaker.pm line 654.                  
                                                     
  Generating a Unix-style Makefile                                              
                                                      
  Writing Makefile for Media::Scan                                              
                                                      
  Writing MYMETA.yml and MYMETA.json                                            
                                                      
  Skip blib/lib/Media/Scan/Audio.pm (unchanged)                                 
                                                      
  Skip blib/lib/Media/Scan/Video.pm (unchanged)                                 
                                                      
  Skip blib/lib/Media/Scan/Image.pm (unchanged)                                 
                                                      
  Skip blib/lib/Media/Scan/Error.pm (unchanged)                                 
                                                      
  Skip blib/lib/Media/Scan/Progress.pm (unchanged)                              
                                                      
  Skip blib/lib/Media/Scan.pm (unchanged)                                       
                                                      
  Skip blib/lib/Media/Scan/Result.pm (unchanged)                                
                                                      
  Running Mkbootstrap for Media::Scan ()                                        
                                                      
  chmod 644 Scan.bs                                                             
                                                      
  cc -c  -I/tmp/LMS/slimserver-vendor/CPAN/build/include 
-I/tmp/LMS/slimserver-vendor/CPAN/build/include -I/tmp/LMS/slimserver-vendor/
  CPAN/build/include -I/tmp/LMS/slimserver-vendor/CPAN/build/include 
-I/tmp/LMS/slimserver-vendor/CPAN/build/include -I/tmp/LMS/slimse
  rver-vendor/CPAN/build/include 
-I/tmp/LMS/slimserver-vendor/CPAN/build/include  -DHAS_FPSETMASK 
-DHAS_FLOATINGPOINT_H -fno-strict-al
  iasing -pipe -fstack-protector -I/usr/local/include -O2 -pipe 
-fstack-protector -fno-strict-aliasing    -DVERSION=\"0.01\"  -DXS_VER
  SION=\"0.01\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE"  -O2 -Wall 
-Wno-unused-value -Wno-format-security Scan.c          
  ./xs/Result.xs: In function 'XS_Media__Scan__Result_size':                    
                                                      
  ./xs/Result.xs:45: warning: format '%llu' expects type 'long long unsigned 
int', but argument 3 has type 'uint64_t'                 
  rm -f blib/arch/auto/Media/Scan/Scan.so                                       
                                                      
  LD_RUN_PATH="/usr/lib:/usr/local/lib" cc  -shared  
-L/wrkdirs/usr/ports/lang/perl5.20/work/perl-5.20.2 
-L/usr/local/lib/perl5/5.20/m
  ach/CORE -Wl,-rpath=/usr/local/lib/perl5/5.20/mach/CORE -lperl 
-L/usr/local/lib -fstack-protector Scan.o  -o blib/arch/auto/Media/Sc
  an/Scan.so 
/tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/libmediascan.a 
/tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/
  libavformat.a 
/tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/libavcodec.a 
/tmp/LMS/slimserver-vendor/CPAN/build/include/../lib
  /libswscale.a 
/tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/libavutil.a 
/tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/
  libexif.a /tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/libjpeg.a 
/tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/libpng
  .a /tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/libgif.a 
/tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/libdb.a     -l
  m -lz -lintl                                                                  
                                                      
  /usr/bin/ld: 
/tmp/LMS/slimserver-vendor/CPAN/build/include/../lib/libavcodec.a(deinterlace.o):
 relocation R_X86_64_PC32 against `ff_
  pw_4' can not be used when making a shared object; recompile with -fPIC       
                                                      
  /usr/bin/ld: final link failed: Bad value                                     
                                                      
  *** [blib/arch/auto/Media/Scan/Scan.so] Error code 1                          
                                                      
  
  Stop in /tmp/LMS/slimserver-vendor/CPAN/libmediascan-0.1/bindings/perl.       
                                                      
  make failed, aborting                         
--------------------



Win7Pro(x64)[3.3Ghz i5, 8GB RAM, 120GB SSD system, 15TB storage], LMS
7.9.0 -> Logitech Squeezebox Classic V.3 -> Cambridge Audio DacMagic ->
NAD C160 -> 2 x NAD C272 -> Quad 22L2
------------------------------------------------------------------------
get.amped's Profile: http://forums.slimdevices.com/member.php?userid=10022
View this thread: http://forums.slimdevices.com/showthread.php?t=102858

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to