LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-16-2011, 05:45 PM   #1
neruson
LQ Newbie
 
Registered: May 2011
Location: Boulder, CO
Distribution: Fedora
Posts: 18

Rep: Reputation: 0
Compiling Easymp3gain from source error


Hello, I'm running Salix Xfce 13.37 amd64 which is compatible with Slackware 13.37 so I'm assuming this is the correct place to post this

I know that in order to compile easymp3gain you must have both fpc and lazarus installed. I have both of those, so I thought 'great! now i can start building easymp3gain!' but I keep getting this error when running the make command:

Code:
root@darkstar:/home/neruson/Downloads/easymp3gain-0.5.0# make
chmod +x ./make.sh
./make.sh
Target architecture: x86_64
Target operating system: linux
Compiler version: 2.4.2
Building easyMP3Gain ...
./make.sh: line 36: lazbuild: command not found
make: *** [all] Error 127
root@darkstar:/home/neruson/Downloads/easymp3gain-0.5.0#
Like I said, I've already compiled and installed Lazarus, so I'm not sure why I'm getting this error...

I know how to use mp3gain with my terminal but I've always liked the GUI for it and would prefer to have it.
 
Old 05-17-2011, 12:18 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,435

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
seems to work fine here.

I installed from slackbuilds.org fpc and lazarus: just changed this last slackbuild a little to let it build on x86_64 (seems to work fine but I'm on multilib so it needs testing on a pure 64bit slack)
Code:
--- lazarus.SlackBuild.orig     2010-05-27 06:51:05.000000000 +0200
+++ lazarus.SlackBuild  2011-05-17 07:12:29.567656111 +0200
@@ -23,10 +23,17 @@
 
 PRGNAM=lazarus
 VERSION=${VERSION:-0.9.28.2}
-# We'll define ARCH in just a bit...
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
+if [ -z "$ARCH" ]; then
+  case "$( uname -m )" in
+    i?86) ARCH=i386 ;;
+    arm*) ARCH=arm ;;
+       *) ARCH=$( uname -m ) ;;
+  esac
+fi
+
 LCL=${LCL:-gtk2}
 
 CWD=$(pwd)
@@ -34,12 +41,6 @@
 PKG=$TMP/package-$PRGNAM
 OUTPUT=${OUTPUT:-/tmp}
 
-if [ "$ARCH" = "x86_64" ]; then
-  printf "\nThis won't build on $ARCH.\n\n";exit 1
-else
-  ARCH=i386
-fi
-
 set -e 
 
 rm -rf $PKG
maybe your problem is that it cannot find the lazarus binaries: if you have a look at the slackbuild, you can see that some links are created to let it work from the install location
Code:
# fix links at /usr/bin
( cd $PKG/usr/bin
  ln -sf ../share/lazarus/lazarus
  ln -sf ../share/lazarus/lazbuild
  ln -sf ../share/lazarus/startlazarus
)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling from source with x86_64 NobleSilkFairy Mandriva 5 01-03-2008 10:54 PM
need help compiling from source - libtool error Feeg Linux - Software 0 07-04-2006 11:16 PM
error compiling mplayer from source jimjamjahaa Linux - Software 1 01-23-2006 02:23 AM
strange error while compiling from source Nadim Slackware 2 08-01-2005 10:59 PM


All times are GMT -5. The time now is 09:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration