SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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?
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.