LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linspire/Freespire (https://www.linuxquestions.org/questions/linspire-freespire-45/)
-   -   $99 Fry's computer, can I make it run linux applications? (https://www.linuxquestions.org/questions/linspire-freespire-45/%2499-frys-computer-can-i-make-it-run-linux-applications-241134/)

sealmouth 10-10-2004 06:38 PM

$99 Fry's computer, can I make it run linux applications?
 
From time to time, I've tried to install linux, but never had hardware compatible with it.

I thought that if I bought a $99 GQC computer from Fry's then I would have a linux
compatible computer. I didn't know that linspire is what it is.

After looking at this forum, I tried to do a: apt-get upgrade

But I run into trouble as below:
------------------------------------------------------------------------------------------------------------
sealmouth:~/My Computer# apt-get install module-init-tools
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
module-init-tools
1 upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
Need to get 0B/82.7kB of archives.
After unpacking 90.1kB of additional disk space will be used.
(Reading database ... 46551 files and directories currently installed.)
Preparing to replace module-init-tools 0.9.11-2.0.0.45.lindows0.1.cnr1 (using .../module-init-tools_3.1-pre5-7_i386.deb) ...
dpkg-divert: `diversion of /sbin/kallsyms to /sbin/kallsyms.modutils by module-init-tools' clashes with `diversion of /sbin/kallsyms to /sbin/kallsyms.Lmodutils by module-init-tools'
dpkg: error processing /var/cache/apt/archives/module-init-tools_3.1-pre5-7_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/module-init-tools_3.1-pre5-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
sealmouth:~/My Computer#
--------------------------------------------------------------------------------------------------------------

Is it pratical and possible to get linspire upgraded to the point where I can compile
and run any application that is written for linux?

When I try to compile the driver for an Airlink 1GHz Ethernet card,
I get the folllowing:


--------------------------------------------

sealmouth:~/My Computer/airlink# make
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.18-3/include/ -c r8169.c
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from r8169.c:52:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from r8169.c:52:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from r8169.c:52:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from r8169.c:52:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory
In file included from /usr/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/netdevice.h:489,
from r8169.c:54:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/netdevice.h:489,
from r8169.c:54:
/usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:72,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/netdevice.h:489,
from r8169.c:54:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a functio n)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a functio n)
r8169.c:383: error: conflicting types for `timer_t'
/usr/include/linux/types.h:42: error: previous declaration of `timer_t'
r8169.c: In function `rtl8169_init_one':
r8169.c:739: error: structure has no member named `driver_data'
r8169.c: In function `rtl8169_remove_one':
r8169.c:866: error: structure has no member named `driver_data'
r8169.c:880: error: structure has no member named `driver_data'
r8169.c: In function `rtl8169_open':
r8169.c:903: warning: passing arg 2 of `request_irq' from incompatible pointer t ype
r8169.c: In function `rtl8169_close':
r8169.c:1514: error: too few arguments to function `synchronize_irq'
r8169.c: In function `rtl8169_set_rx_mode':
r8169.c:1593: warning: passing arg 2 of `set_bit' from incompatible pointer type
make: *** [r8169.o] Error 1
sealmouth:~/My Computer/airlink#

----------------------------------------------------------------------------------

If I should just give up on linspire, what is the easiest linux version to
install and be compatible with the $99 GQC brand computers?

I want to run some applications from the USGS to view contour maps
of the earth and the software is in unix & linux, but not windows.

So that's why I'm trying again to get a working computer with linux that
can compile applications.


Thanks in advance,

Seal Mouth

ronduncan 10-10-2004 08:16 PM

Fry's $99 GQC with Linux
 
If you are installing Linspire 4.5, you must have a system that meets the minimum requirements for it. Linspire expects a modern powerful computer. Some Linux distros can run on older less powerful systmes. The $99 GQC may be too old and/or underpowered for a Linspire installation. Do you know the processor speed and type, amount of RAM, and hard drive capacity? What Linux distro and version was installed on the computer when you bought it? On the other hand, the problem you encountered might be in the installation method.

Comment: I have not yet read any of the postings on using apt-get to install Linspire, if there are such. I only know that Linspire is generally installed via it's own bootable install disk and the applications are generally installed using the Linspire proprietaery Click 'N' Run system. So, I wonder if they have altered the OS so that it is not fully compatible with apt-get.

sealmouth 10-10-2004 09:13 PM

The $99 GQC brand computer come with linspire already
installed on it. For the recent sale, the GQC has an AMD
XP 1.8GHz, 128Mbyte DDR 2700 RAM, etc. It's a decent
computer.

The questions I have is how can I install any unix/linux
applications on a linspire computer, can I modify linspire
to be able to do so, or just give up and try another variety
of linux, and which one.


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