LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Need for instructions on building and compiling software in MEPIS (https://www.linuxquestions.org/questions/linux-desktop-74/need-for-instructions-on-building-and-compiling-software-in-mepis-479103/)

KornFused 08-31-2006 07:26 AM

Need for instructions on building and compiling software in MEPIS
 
:newbie: Being very new at this I need someone to walk me through my first build, compile and install.

I am running MPHIS 6.0rc3 and K3b will not find my SCSI R/W drive. I have downloaded the newest version of K3B (12.17.1) source. I need to know what to do next and how to do it.

Vampirite 09-01-2006 04:43 AM

Download the source to some directory (eg. your home directory)

Open a terminal window

If you downloaded it to your home directory, make sure you are in it:
Code:

cd ~/
Decompress the source:

For a .tar.bz2 file:
Code:

tar -xjvf [source_name].tar.bz2
For a .tar.gz file
Code:

tar -xzvf [source_name].tar.gz
Enter the directory of the source:
Code:

cd [source_name]
Configure and compile:
Code:

./configure
make
su
[enter root password]
make install

If you recieve some error, make sure you have gcc:
Code:

which gcc
If it some other error, post it.

KornFused 09-01-2006 06:40 PM

Not Yet
 
:scratch: The ./configure failed with the following error message:

checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

I looked at the Install instructions and they said I needed the following:

- the QT3 library (at least version 3.2)
- the KDE3 libraries (at least version 3.2)
- the cdparanoia library for cd ripping from Monty
- the cdrtools (cdrecord, mkisofs) from Joerg Schilling
- the dvd+rw-tools by Andy Polyakov for DVD writing

The only thing I did not find is the KDE3 I did a search for it and the only thing I could find referencing it was Python libraries. They are not installed on my computer. Is this what I need?

This is the code it bombs in:

KDE_PATH_X_DIRECT
dnl AC_PATH_X_XMKMF picks /usr/lib as the path for the X libraries.
dnl Unfortunately, if compiling with the N32 ABI, this is not the correct
dnl location. The correct location is /usr/lib32 or an undefined value
dnl (the linker is smart enough to pick the correct default library).
dnl Things work just fine if you use just AC_PATH_X_DIRECT.
dnl Solaris has a similar problem. AC_PATH_X_XMKMF forces x_includes to
dnl /usr/openwin/include, which doesn't work. /usr/include does work, so
dnl x_includes should be left alone.
case "$host" in
mips-sgi-irix6*)
;;
*-*-solaris*)
;;
*)
_AC_PATH_X_XMKMF
if test -z "$ac_x_includes"; then
ac_x_includes="."
fi
if test -z "$ac_x_libraries"; then
ac_x_libraries="/usr/lib${kdelibsuff}"
fi
esac
#from now on we use our own again

# when the user already gave --x-includes, we ignore
# what the standard autoconf macros told us.
if test "$kde_x_includes" = NO; then
kde_x_includes=$ac_x_includes
fi

# for --x-libraries too
if test "$kde_x_libraries" = NO; then
kde_x_libraries=$ac_x_libraries
fi

if test "$kde_x_includes" = NO; then
AC_MSG_ERROR([Can't find X includes. Please check your installation and add the correct paths!])

I am now really KornFused.:confused:

Vampirite 09-03-2006 09:15 AM

You are running KDE aren't you? If so what version?

Try doing this for ./configure:

Code:

./configure --prefix=`kde-config --prefix`
Make sure you type it exactly as it says.

Check to see if there is anything in the directory /usr/X11/lib.

KornFused 09-07-2006 06:12 PM

It still doesn't work
 
I am running KDE3.5.3.

I find a file .usr/XllR6
Inside that is a X11 dir.
The X11 folder has a link to etc/x11/xkb

I think I am missing some files, but I have no idea what.:confused:

Vampirite 09-12-2006 12:50 AM

I don't know how MEPIS works, but you could see if there are any x11-includes packages for it...

KornFused 09-18-2006 09:05 PM

Includes
 
:study: I looked at the K3b site and found I need QT X-11. I have not been able to download yet. Their torrent is down.


All times are GMT -5. The time now is 02:39 AM.