LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   make menuconfig (https://www.linuxquestions.org/questions/slackware-14/make-menuconfig-39490/)

BoonZie 12-27-2002 03:28 AM

make menuconfig
 
Hi

I have installed "package" a, ap, d & n from Slack 8.1. Earlier I have made a complete installation (on the same computer), but I wanted to reinstall only the packages I was interestd of. I also partitioned my hdd like / = 200Mb, swap = 128 Mb, /home = 500Mb, /usr = rest of space (~2,5 Gb). The installation went well, but my problem is that I cant make the menuconfig. I get a report that I am missing Ncurses, but I know that it is installed. I have tried to update it from the latest src-files, but when I run ./configure (in ncurses directory) I get an error that the "C Compiler can not make executables".
It feels like Iīm missing some search paths somewhere, so the "things" arenīt finding each other. Because I think I have all things installed that I need, and all is from Slack 8.1 CD, so I donīt think there is a "version-problem".
Does anyone have some ideas how to solve my problem. How do I find out where Ncurses is installed, and how do I tell the compiler (or what it is that makes menuconfig) where to find it?

Excalibur 12-27-2002 04:42 AM

I think you will find the packages you are looking for in the disk set "l". (Lower case L)

BoonZie 12-27-2002 04:57 AM

I have tried to install ncurses 5.2 from there, with pkgtool, everything looks ok, but my prolem is still there.

I found that I have both libncurses.so.5 and libncurses.so.5.2 in the /lib dir. Could there be any conflicts between them?

Excalibur 12-27-2002 05:21 AM

I would think the .5 is just a link to the 5.2 library.

Have you installed the glib and glibc from the "l" disk set?

BoonZie 12-27-2002 02:59 PM

I installed the complete set.
When I first installed my "new" installation, I choosed the packages from the Setup menu. When things didnīt work out I "reinstalled" the "l" disk-set with the pkgtool. That should give me the complete setup for compiling my own sources, I think.

The differences from my first complete installation, is that I have changed my partitions of the hdd. The first time it was only / and swap-partitons, and now I have changed to the above partitions configuration. Can I have done something wrong there, that are giving me the trouble now?
Could there be some difference if the /usr directory is a part of the / partiton, or is an own partition?

Excalibur 12-27-2002 05:28 PM

The partitions should not interefere with the programs, at least as long as the required partitions are mounted. You might check that though, just use the "mount" command and it should report all the file systems and the mount point. If a partition was not mounted and then you installed some packages, they would be within the partition that contains the moint point, usually the root "/". But then when the partition is mounted the files would not be visible because of the mounted file system.

You might also try running a program called "ldconfig". It uses the /etc/ld.so.conf file that contains names of directories of libraries. The program then reads the directories and writes the /etc/ld.so.cache file. Development operations use that cache file to determine if libraries are installed. If I am building a program that has shared library files, then between each of the build operations I run ldconfig to update all the entries in the cache file. If you installed the libraries but the cache hasn't been updated, then the files would be reported as not present or missing.

If all else fails then I would suggest reinstalling again, and/or doing a complete install.

As far as partitions go though, normally I only create partitions for a maintenace installation, the root file system, the user root file system, and the home file system. In addition to those I might use other hard disks for special purposes like CD images and music files, etc. But in any event the scheme here is based around keeping the data separate from the core file system. Some mail servers I might have a separate partition for /var/spool and the /home and then run quotas on those volumes to manage user consumption of the resources. So there can be a lot of reasons for partitioning a system other than just a single file system. I run (2) 120 GByte IDE in root RAID1 and I need to to be able to replace the OS without backing up the data volumes.

Well I hope some of this has helped in some way. Cheers.

BoonZie 12-28-2002 04:40 AM

Unfortunately it didnīt help. Things looks OK, but it wont work...
I think I head for the reinstall instead.
Thanks for your help and time anyway, I really appreciate it.


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