View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-16-2011, 06:45 PM   #1
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:

root@darkstar:/home/neruson/Downloads/easymp3gain-0.5.0# make
chmod +x ./
Target architecture: x86_64
Target operating system: linux
Compiler version: 2.4.2
Building easyMP3Gain ...
./ line 36: lazbuild: command not found
make: *** [all] Error 127
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, 01:18 AM   #2
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,861

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

I installed from 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)
--- 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 @@
-# We'll define ARCH in just a bit...
+if [ -z "$ARCH" ]; then
+  case "$( uname -m )" in
+    i?86) ARCH=i386 ;;
+    arm*) ARCH=arm ;;
+       *) ARCH=$( uname -m ) ;;
+  esac
@@ -34,12 +41,6 @@
-if [ "$ARCH" = "x86_64" ]; then
-  printf "\nThis won't build on $ARCH.\n\n";exit 1
-  ARCH=i386
 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
# fix links at /usr/bin
( cd $PKG/usr/bin
  ln -sf ../share/lazarus/lazarus
  ln -sf ../share/lazarus/lazbuild
  ln -sf ../share/lazarus/startlazarus


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 11:54 PM
need help compiling from source - libtool error Feeg Linux - Software 0 07-05-2006 12:16 AM
error compiling mplayer from source jimjamjahaa Linux - Software 1 01-23-2006 03:23 AM
strange error while compiling from source Nadim Slackware 2 08-01-2005 11:59 PM

All times are GMT -5. The time now is 03:17 AM.

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