c/c++ libraries kubuntu 7.1

Модератор: Модераторы разделов

inlines
Сообщения: 10
ОС: kubuntu 7.10

c/c++ libraries kubuntu 7.1

Сообщение inlines »

ssori za translit

kompiliruyu progu, plyuetsa 4to net bibliotek, podklyu4al po raznomu
#include<stdio.h>
#include<stdio>
.....
vykidivaet vot eto:
xargs.c:1:19: error: stdio.h: No such file or directory
xargs.c:2:20: error: unistd.h: No such file or directory
xargs.c:3:19: error: fcntl.h: No such file or directory
xargs.c:4:23: error: sys/types.h: No such file or directory
xargs.c:5:20: error: string.h: No such file or directory
xargs.c:6:22: error: sys/wait.h: No such file or directory

nado kakto po drugomu ix podklyu4at ili ix poprostu net?? esli ixnet, to otkuda ix ska4at???

os kubuntu 7.10
Спасибо сказали:
Аватара пользователя
Atragor
Сообщения: 681
Статус: ...

Re: c/c++ libraries kubuntu 7.1

Сообщение Atragor »

Вроде так:

Код: Выделить всё

$sudo apt-get install build-essential


Это метапакет. А сам stdio.h находится в libc6-dev.
If you were MEANT to understand it, we wouldn't have called it 'code' © bash.org
Спасибо сказали:
inlines
Сообщения: 10
ОС: kubuntu 7.10

Re: c/c++ libraries kubuntu 7.1

Сообщение inlines »

sps vot 4to polu4ilos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev linux-libc-dev patch
Suggested packages:
debian-keyring g++-multilib g++-4.1-multilib gcc-4.1-doc glibc-doc
manpages-dev libstdc++6-4.1-doc diff-doc
The following NEW packages will be installed:
build-essential dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev
linux-libc-dev patch
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/7416kB of archives.
After unpacking 31.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Media change: please insert the disc labeled
'Kubuntu 7.10 _Gutsy Gibbon_ - Release amd64 (20071016.1)'
in the drive '/cdrom/' and press enter

mojno li kak-to oboitis bez diska v etom slu4ae??
Спасибо сказали:
Аватара пользователя
uptime
Сообщения: 1661
Статус: Drinker with computing problems
ОС: kubuntu 8.04

Re: c/c++ libraries kubuntu 7.1

Сообщение uptime »

Отредактируйте sources.lst. Сейчас он у вас настроен на работу с локальным репозитарием на СиДи. Скорее всего вам придется только закомментировать и раскомментировать соответствующие строки, чтобы он работал с репозитариями в интернете.

успехов
The answer, my friend, is blowin' in the wind.
The answer is blowin' in the wind.
Спасибо сказали:
inlines
Сообщения: 10
ОС: kubuntu 7.10

Re: c/c++ libraries kubuntu 7.1

Сообщение inlines »

mojno plz popodrobnee 4to iz etogo razkomentit?:


deb cdrom:[Kubuntu 7.10 _Gutsy Gibbon_ - Release amd64 (20071016.1)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
# deb http://ru.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://ru.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
# deb http://ru.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://ru.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
# deb http://ru.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://ru.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb http://ru.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
# deb-src http://ru.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# Line commented out by installer because it failed to verify:
# deb http://ru.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://ru.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb http://ru.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://ru.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ru.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://ru.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
deb http://archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
Спасибо сказали:
inlines
Сообщения: 10
ОС: kubuntu 7.10

Re: c/c++ libraries kubuntu 7.1

Сообщение inlines »

bolshor vsem spasibo za u4astie, problema reshena
Спасибо сказали: