SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Use 'upgradepkg' or 'installpkg' as root to install these, providing of course that you can upload them to your server with no problems. Use pkgtool to check which ones you have installed already, and if you have any use upgradepkg. If you do not have them use installpkg.
Use 'upgradepkg' or 'installpkg' as root to install these, providing of course that you can upload them to your server with no problems. Use pkgtool to check which ones you have installed already, and if you have any use upgradepkg. If you do not have them use installpkg.
Big thanks for that, a Major step forward I should think.
Use 'upgradepkg' or 'installpkg' as root to install these, providing of course that you can upload them to your server with no problems. Use pkgtool to check which ones you have installed already, and if you have any use upgradepkg. If you do not have them use installpkg.
I've looked in the directory for /d, there's a big long list of stuff in there, mostly .tgz,
q1, if i dowload them and tar -zxf them, does that mean they are installed? (or am I abit stuffed because my attempts to install things so far has failed because of the very problem with "make" that i'm trying to fix.
q2, is there a way to download the whole lot? some way i can just wget the lot as a package?
q3, is there a command i can use to test the presence of each package? would packagename --version work for any of them?
thanks for your infinate patience and sublime compassion.
I've looked in the directory for /d, there's a big long list of stuff in there, mostly .tgz,
Yes, those are the packages.
Quote:
q1, if i dowload them and tar -zxf them, does that mean they are installed? (or am I abit stuffed because my attempts to install things so far has failed because of the very problem with "make" that i'm trying to fix.
A big NO. You don't untar them. You install them with the installpkg or the upgradepkg command. No make, no ./configure, no unpacking.
Quote:
q2, is there a way to download the whole lot? some way i can just wget the lot as a package?
Just use your favorite download manager or a browser. Konqueror from KDE will work just fine.
Quote:
q3, is there a command i can use to test the presence of each package? would packagename --version work for any of them?
Not really. Sometimes, executables have names different from that of the packages.
Look in you /var/log/packages directory. It has the names of all packages installed in your system.
BTW, it still would be better to see what config.log has to say before attemting such a big upgrade. Maybe, you just need a couple of packages...
configure:1517: checking MACHDEP
configure:1667: result: linux2
configure:1673: checking EXTRAPLATDIR
configure:1688: result:
configure:1709: checking for --without-gcc
configure:1758: result: no
configure:1817: checking for gcc
configure:1833: found /usr/bin/gcc
configure:1843: result: gcc
configure:2087: checking for C compiler version
configure:2090: gcc --version </dev/null >&5
gcc (GCC) 3.3.6
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2093: $? = 0
configure:2095: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/specs
Configured with: ../gcc-3.3.6/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.6
configure:2098: $? = 0
configure:2100: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2103: $? = 1
configure:2126: checking for C compiler default output file name
configure:2129: gcc conftest.c >&5
configure:2132: $? = 0
configure:2178: result: a.out
configure:2183: checking whether the C compiler works
configure:2189: ./a.out
configure:2192: $? = 0
configure:2209: result: yes
configure:2216: checking whether we are cross compiling
configure:2218: result: no
configure:2221: checking for suffix of executables
configure:2223: gcc -o conftest conftest.c >&5
configure:2226: $? = 0
configure:2251: result:
configure:2257: checking for suffix of object files
configure:2278: gcc -c conftest.c >&5
configure:2281: $? = 0
configure:2303: result: o
configure:2307: checking whether we are using the GNU C compiler
configure:2331: gcc -c conftest.c >&5
configure:2337: $? = 0
configure:2341: test -z
|| test ! -s conftest.err
configure:2344: $? = 0
configure:2347: test -s conftest.o
configure:2350: $? = 0
configure:2363: result: yes
configure:2369: checking whether gcc accepts -g
configure:2390: gcc -c -g conftest.c >&5
configure:2396: $? = 0
configure:2400: test -z
|| test ! -s conftest.err
configure:2403: $? = 0
configure:2406: test -s conftest.o
configure:2409: $? = 0
configure:2420: result: yes
configure:2437: checking for gcc option to accept ANSI C
configure:2507: gcc -c -g -O2 conftest.c >&5
configure:2513: $? = 0
configure:2517: test -z
|| test ! -s conftest.err
configure:2520: $? = 0
configure:2523: test -s conftest.o
configure:2526: $? = 0
configure:2544: result: none needed
configure:2562: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2568: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2704: checking for --with-cxx-main=<compiler>
configure:2730: result: no
configure:2739: checking for g++
configure:2770: result: g++
configure:2877: WARNING:
By default, distutils will build C++ extension modules with "g++".
If this is not intended, then set CXX on the configure command line.
configure:2893: checking how to run the C preprocessor
configure:2928: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2934: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:2928: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2934: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:2928: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:308,
from /usr/include/assert.h:36,
from conftest.c:14:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:2934: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:2928: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:308,
from /usr/include/assert.h:36,
from conftest.c:14:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:2934: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:2928: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2934: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:2928: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:2934: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3011: result: /lib/cpp
configure:3035: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:3041: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3035: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:122,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:3041: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
| #define _XOPEN_SOURCE 600
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200112L
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3110: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Yep, that counts. After all how could an 'insane' compiler do anything but give 'crazy' errors? lol Sound like you are missing some other basic package needed for compiling programs. Make sure you have kernel-headers, glibc, autoconf, automake, binutils, flex, gcc, g++, kernel-headers, make, libtool, m4, perl -that's most of the basic stuff anyway -probably easiest to say make sure you have all the /d packages installed as you can't go wrong that way.
I think I found the problem, it was kernel-headers I didn't have, I installed that using installpkg and the make command then worked.
Now I will reinstall the OS from scratch (for a clean-slate) and see how what I stumble other next.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.