LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 10-15-2007, 08:34 AM   #1
Arles
Member
 
Registered: Oct 2005
Location: Venezia
Distribution: Ubuntu 10.10
Posts: 42

Rep: Reputation: 15
Mepis 3.4-3 unable to compile new kernel


As said above I have Mepis 3.4-3 with 2.6.15-1-586tsc kernel. Yesterday I've downloaded 2.6.23.1 source code. I checked the /usr/src for linux dir but none was there so I suppose there is no kernel source (the old one). I've extracted everything into
Code:
linux-2.6.23.1
and then I made
Code:
ln -s linux-2.6.23.1 linux
and then
Code:
ls -al
which gave me:

Quote:
total 1
drwxrwsr-x 6 arles 1000 176 2007-10-15 15:13 .
drwxr-xr-x 15 root root 384 2005-08-21 16:11 ..
drwxr-sr-x 2 root 1000 88 2007-10-13 13:27 ati
lrwxrwxrwx 1 root 1000 14 2007-10-15 15:13 linux -> linux-2.6.23.1
drwxr-sr-x 19 root 1000 704 2007-10-15 15:12 linux-2.6.23.1
drwxr-sr-x 2 root 1000 48 2003-09-30 14:29 modules
drwxr-xr-x 7 root root 168 2005-02-19 20:31 rpm
I was sure everything went fine so I tried
Code:
make xconfig
but all I get is this:

Quote:
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
CHECK qt
*
* Unable to find the QT3 installation. Please make sure that
* the QT3 development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
HOSTCC scripts/kconfig/conf.o
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
make[1]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'. Stop.
make: *** [xconfig] Error 2

Can someone explain where the problem is because I don't understand from given info. Thank you.
 
Old 10-15-2007, 08:43 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
First, don't create the /usr/src/linux link. Not only is it not needed it can be problematic and the kernel developers have recommended (strongly) against it for years.

Second, you need the qt development files to use xconfig. Either install qt-devel or try using make menuconfig.
 
Old 10-15-2007, 08:49 AM   #3
Arles
Member
 
Registered: Oct 2005
Location: Venezia
Distribution: Ubuntu 10.10
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by weibullguy View Post
First, don't create the /usr/src/linux link. Not only is it not needed it can be problematic and the kernel developers have recommended (strongly) against it for years.

Second, you need the qt development files to use xconfig. Either install qt-devel or try using make menuconfig.

Ok tnx for fast reply. Now what should I do about linux link? How do I remove it, and where do I find qt-devel?
 
Old 10-15-2007, 09:43 AM   #4
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
For qt-devel, use Synaptic and search for: libqt3-headers
I think this is the package that you will need to install.

To remove the /usr/src/linux link, you can issue the command: rm /usr/src/linux
This will only remove the link, not the directory that it links to.

--Shaun
 
Old 10-15-2007, 09:51 AM   #5
Arles
Member
 
Registered: Oct 2005
Location: Venezia
Distribution: Ubuntu 10.10
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by binary_pearl View Post
For qt-devel, use Synaptic and search for: libqt3-headers
I think this is the package that you will need to install.

To remove the /usr/src/linux link, you can issue the command: rm /usr/src/linux
This will only remove the link, not the directory that it links to.

--Shaun

Tnx, will try this but after installing latest stable version of Mepis which should be 6.5.02.
 
Old 10-15-2007, 10:23 AM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by Arles View Post
Now what should I do about linux link? How do I remove it
Using the rm command.
Quote:
Originally Posted by Arles View Post
where do I find qt-devel?
Use your package manager.
 
Old 10-15-2007, 11:59 AM   #7
Arles
Member
 
Registered: Oct 2005
Location: Venezia
Distribution: Ubuntu 10.10
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by binary_pearl View Post
For qt-devel, use Synaptic and search for: libqt3-headers
I did find the package..installed, even rebooted but still when trying to make xconfig I keep getting this error:

Quote:
CHECK qt
*
* Unable to find the QT3 installation. Please make sure that
* the QT3 development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
make[1]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'. Stop.
make: *** [xconfig] Error 2
menu config is giving me problems too..any ideas?
 
Old 10-15-2007, 12:17 PM   #8
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
Try these packages:
qt3-apps-dev
qt3-dev-tools

--Shaun
 
Old 10-24-2007, 03:10 PM   #9
namida12
Member
 
Registered: Jun 2007
Location: Las Vegas, NV
Distribution: 64-bit Mepis
Posts: 130

Rep: Reputation: 19
[QUOTE=Arles;2924739]As said above I have Mepis 3.4-3 with 2.6.15-1-586tsc kernel. Yesterday I've downloaded 2.6.23.1 source code.(/quote)

Arles,

Why use an old Debian 3.4-3 based release? The new beta5 is available and it is based on debian allowing you to experiment with the new kernels...

Or is this a special project to make the old version sing again on newer hardware that the newer kernel can address?

Just a curious fella...

JR
 
Old 10-24-2007, 05:58 PM   #10
westyvw
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
I too want to update my 3.4.3 install. I have too much time and software invested in this current installation to want to start over. The new kernel is necessary for 2 reasons: 1. arts is broken, 2. USB is broken for fat. Both are fixed in later kernels.


I get this error when I make oldconfig or make xconfig:

HOSTCC scripts/basic/fixdep
gcc: scripts/basic/fixdep.c: No such file or directory
gcc: no input files
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

Last edited by westyvw; 10-24-2007 at 07:46 PM.
 
Old 10-25-2007, 05:56 PM   #11
namida12
Member
 
Registered: Jun 2007
Location: Las Vegas, NV
Distribution: 64-bit Mepis
Posts: 130

Rep: Reputation: 19
Quote:
Originally Posted by westyvw View Post
I too want to update my 3.4.3 install. I have too much time and software invested in this current installation to want to start over. The new kernel is necessary for 2 reasons: 1. arts is broken, 2. USB is broken for fat. Both are fixed in later kernels.
Sorry, I can not help you with your problem. You are far over my head. I remember someone else requesting assistance or asking about an updated kernel to the older debian version on Mepislovers, but could not venture what the response was...

I have seen several questions and replies to Arts, recently but think that was on 6.0 the ubunta based version... Might have been the 6.5 version, not certain.

I am currently installing the beta5 32-bit version on a older re-cased Compaq motherboard... 3 sticks of 128 PC 100 memory, and a socket A duron 700+ CPU... A win2k/Mepis dual boot for the LVlug meeting on Saturday...

6 hours for the win2k install (no software only M$ updates), 30 minutes for Linux plus the laser printer installation....

Very different...

Cheers mate

JR
 
Old 10-25-2007, 06:20 PM   #12
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
Do you have only the kernel headers installed, or do you have the full source?

--Shaun
 
  


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
MEPIS 3.4-3 - Patching kernel - do I need to re-compile? craftybytes MEPIS 5 10-01-2006 01:44 AM
Unable to boot any kernel after compile BobNutfield Slackware 13 03-14-2006 01:08 PM
Unable to compile ndiswrapper with 2.6.13 kernel SlackwareInAZ Linux - Wireless Networking 5 09-18-2005 05:01 PM
Unable to compile kernel-2.6.x on Slackware 10.1 Basel Slackware 21 09-01-2005 11:02 AM
unable to compile new modules in the kernel Menestrel Slackware 1 01-09-2005 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration