Suse kompajliranje

1

Suse kompajliranje

offline
  • Pridružio: 18 Apr 2003
  • Poruke: 8134
  • Gde živiš: U kesici gumenih bombona...

pokusavam da kompajliram driver za modem (conexant), ali mi prijavljuje gresku za make... kao i za gmake i ./configure... da li neko zna kako da kompajliram .tgz (sta vec)



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 02 Sep 2003
  • Poruke: 4833

Koliko ja znam, to je arhiva, probaj prvo da je raspakujes, recimo pokrenes MC iz konzole pa dalje kao u total commanderu... Ili sacekaj da se javi neko ko se malo bolje razume Wink



offline
  • Pridružio: 18 Apr 2003
  • Poruke: 8134
  • Gde živiš: U kesici gumenih bombona...

raspakovana je... to nisam napomenuo...

offline
  • Strog  Male
  • Stručni saradnik
    Web programiranje
  • Bojan Kopanja
  • Web & Mobile developer @ ZeusSoftware
  • Pridružio: 26 Jul 2003
  • Poruke: 2596
  • Gde živiš: Stara Pazova

Yup, Djole je u pravu... Tgz ti je obična arhiva, tako da prvo nju moraš da raspakuješ pa tek onda možeš da instaliraš taj drajver. Znači nije ništa čudno što ti prijavljuej te greške, nad *.tgz fajlom se jednostavno ne mogu izvršavati te komande Very Happy.

Ajde, otpakuj to, pa javljaj kako je prošlo, da i ti vidiš net-svet iz Linuxa Wink.

Dopuna: eh, pretekao si me sa postom, nisam video da je raspakovan Very Happy... Ajde, pošalji mi taj drajver ako hoćeš da vidim šta se dešava sa njim ( pošto isto imam SuSE ), jer ovako nema dosta podataka o problemu... Možda ti jednostavno fali kompajler ili neka slična zavrzlama ( mada čisto sumnjam u ovo ) Very Happy.

Ah, da... Moj mail... kopanja[na]gmail[tačka]com Wink.

offline
  • gamzzy 
  • Legendarni građanin
  • Pridružio: 24 Apr 2003
  • Poruke: 10725
  • Gde živiš: Novi Sad

Za kompajliranje ti trebaju dva paketa:
gcc i make (ili gmake), a ostale potrebne pakete će povući ova dva pri instalaciji iz YaST-a Wink

Nije na odmet da nam iskopiraš i INSTALL fajl pa da vidimo o čemu se radi Wink

inače na SuSE-u možeš iz konzole (kao root) videti da li si već instalirao ove pakete i ovako:
CraY:/home/gamzzy # rpm -q gcc
gcc-3.3.3-41

i
CraY:/home/gamzzy # rpm -q make
make-3.80-184

s tim što su rezultati sa moje mašine...

offline
  • Pridružio: 18 Apr 2003
  • Poruke: 8134
  • Gde živiš: U kesici gumenih bombona...

sadrzaj INSTALL fajla

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

Please see the README file for general information.

BEFORE INSTALLING

Remove any old HCF modem drivers, either manually or by
running "rpm -e hcfpcimodem" ("rpm -e hcfusbmodem" for the USB version)
or "make uninstall" if using the RPM or tar versions of this
package respectively.

Note: if you had an older version of this package, it might have been
installed under the previous "hcflinmodem" name. In that case,
run "rpm -e hcflinmodem" (or "make uninstall" in the *old* package tree).


INSTALLATION INSTRUCTIONS

If your Linux distribution supports RPM (RedHat Package Manager),
and has a recent libc, it is easiest to install the binary RPM package
with METHOD A. If your system has RPM but the distributed binaries are not
suitable, you may use METHOD B. METHOD C is for distributions without
RPM support, or those who prefer not to use RPM.


METHOD A: BINARY RPM PACKAGE (*.{arch}.rpm)

If you have obtained the driver package in RPM format:

1. install the rpm with "rpm -i hcfpcimodem-{version}.{arch}.rpm"
("rpm -i hcfusbmodem-{version}.{arch}.rpm" for the USB version)

2. optionally re-run "hcfpciconfig" ("hcfusbconfig" for the USB version)
to complete the installation (if necessary) or to change your modem's
configuration.


METHOD B: SOURCE RPM PACKAGE (*.src.rpm)

If no pre-generated binary RPM package is adequate for your system,
you may download the source RPM package and:

1. generate a new binary RPM package for your platform with
"rpm --rebuild hcfpcimodem-{version}.src.rpm"
("rpm --rebuild hcfusbmodem-{version}.src.rpm" for the USB version)

2. install the new binary RPM package as described in METHOD A.


METHOD C: TAR PACKAGE (*.tar.gz)

If you have obtained the driver package in tar format:

1. extract the package with "tar -xzf hcfpcimodem-{version}.tar.gz"
("tar -xzf hcfusbmodem-{version}.tar.gz" for the USB version)

2. change to the package directory with "cd hcfpcimodem-{version}"
("cd hcfusbmodem-{version}" for the USB version)

3. run "make install" from the top of the package directory.
(Debian users might need to change the KERNELSRC definition in
modules/common.mak first)

4. run "hcfpciconfig" ("hcfusbconfig" for the USB version) to complete
the installation and configure your modem.

(Alternatively to this whole procedure you may generate RPMS from the tar
package using rpm -ta hcf{pci|usb}modem-{version}.tar.gz")


AFTER INSTALLATION

If an error occurred during installation, please see the sections 'BUGS'
and 'REPORTING PROBLEMS' below.

Once the modem is installed and configured, you may access it
as /dev/ttySHCF0 or /dev/cuaHCF0 (call-out device). Additionally,
you can use it via the symbolic link /dev/modem (equivalent to ttySHCF0).

Please review the permissions on the device nodes with "ls -l" to ensure
that they are adequate for your system.

The "hcfpciconfig" command ("hcfusbconfig" for the USB version) can be used
to change certain modem configuration options or recompile (generic packages
only) the kernel modules after installation. Run "hcfpciconfig --help"
("hcfusbconfig --help" for the USB version) for usage information.


CHANGING THE COUNTRY PARAMETER

With "hcfpciconfig --country" ("hcfusbconfig --country" for the USB version)
you may select another country supported by your modem.


MANUALLY UNLOADING THE DRIVERS

The modem drivers can be manually unloaded using the "hcfpcistop"
("hcfusbstop" for the USB version) command.


USING ALTERNATIVE VENDOR AND DEVICE IDS

If your modem uses a chipset supported by the drivers but isn't
recognized by the supplied .inf files, you may use (at your own risk)
"hcf{pci|usb}config --hwtype" to explicitly configure the vendor and
device IDs of your modem.


DOCUMENTATION

See the included document 100498D_RM_HxF_Released.pdf (viewable with
Adobe Acrobat reader or other PDF readers).


REMOVING THE DRIVER

If for any reason you wish to un-install the HCF drivers from your
system, the proper way to proceed depends on how they were initially
installed.

If you used an RPM installation method, execute "rpm -e hcfpcimodem"
("rpm -e hcfusbmodem" for the USB version) to remove the package.
If you used the tar method, change your current directory to where
you extracted the archive, and execute "make uninstall"


MORE INFORMATION AND HELP

If you require assistance or need more information, go to:
http://www.linuxant.com

Conexant Systems neither distributes nor maintains this package.
PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!!


BUGS

A list of currently known problems is included in the file "BUGS".


BAD CONNECTIONS

If you experience sudden disconnects or bad connections, please check
the last call status information, which can be obtained with the
AT#UG command or "cat /proc/driver/hcf/0/lastcallstatus" (2.4 or later).
Alternatively the driver can be configured to automatically log
this data upon carrier loss by adding the "loglastcallstatus=1" parameter
to the "options hcfserial" line in /etc/modules.conf.


REPORTING PROBLEMS

Additional problem reports or patches may be sent to:
hcflinux-bugs@linuxant.com

Enclosing the output of "hcfpciconfig --dumpdiag"
("hcfusbconfig --dumpdiag" for the USB version) and the last call status
information if pertinent (see above) in your report can greatly
facilitate problem resolution.

offline
  • gamzzy 
  • Legendarni građanin
  • Pridružio: 24 Apr 2003
  • Poruke: 10725
  • Gde živiš: Novi Sad

Za tvoju instalaciju treba samo da raspakuješ, uđeš u taj dir i kucaš:
make install

offline
  • Strog  Male
  • Stručni saradnik
    Web programiranje
  • Bojan Kopanja
  • Web & Mobile developer @ ZeusSoftware
  • Pridružio: 26 Jul 2003
  • Poruke: 2596
  • Gde živiš: Stara Pazova

snoop, ja sam isprobao ono što si mi poslao i radi savršeno, a jedini problem je bio što ja nemam takav modem, tj. ja uopšte nemam modem Laughing...

Znači samo proveri da li su ti instalirani make/gmake i gcc paketi, pa ako opet ne ide javljaj Very Happy.

offline
  • Pridružio: 02 Sep 2003
  • Poruke: 4833

Snoop, koliko si dosad potrosio para i sati na netu, mogao si vec da kupis hardwerski modem Wink

offline
  • Pridružio: 18 Apr 2003
  • Poruke: 8134
  • Gde živiš: U kesici gumenih bombona...

@ Strog

pa da... gamzzy i ja smo utvrdili da nemam make/gmake Smile

@ Djole

da znas, i hteo sam Smile

Ko je trenutno na forumu
 

Ukupno su 499 korisnika na forumu :: 8 registrovanih, 1 sakriven i 490 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3028 - dana 22 Nov 2019 07:47

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., ALBION101, Dežurni pod palubom, Dimitrise93, kaptain, novator, tomigun, VJ