• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Pomocy

exidian

New Member
Joined
Dec 4, 2010
Messages
3
Reaction score
0
Witajcie
mam pewien problem z Linuksem otóż zainstalowałem sobie Linuksa Debian Lenny 5.0.7
i trochę go nie ogarniam.
Mam problem z kompilacja tfs.
Po wpisaniu apt-get update w terminalu wyskakuje mi kilka tego typu ostrzeżeń:
Błąd Index of / etch/main Sources
404 Not Found [IP: 91.121.124.139 80]

A na koncu:
E: Nie udało się pobrać niektórych plików indeksu, zostały one zignorowane lub została użyta ich starsza wersja.

Następnie po komendzie:
g++ -shared -Wl,-soname,libboost_system.so.1 -o libboost_system.so.1.0.1 error_code.cpp -lc -fPIC
Wyskakuje mi:
bash: g++: command not found

I co ja mam zrobić w takiej sytuacji?

Proszę się wstrzymać od głupich komentarzy bo jestem zielony a twoje
eksperckie, złośliwe zdanie możesz sobie zatrzymać.
 
Last edited:
Nie masz zainstalowanego g++? Pozatym chyba zle source.list zrobiles.
 
1. Dzięki. I jak zainstalować g++?
2. Tzn co złe w sources.list? Złe repo czy jak?
 
Uruchom:
Code:
echo '+++ Setting repositories...'
# new repos
echo 'deb ftp://mir1.ovh.net/debian/ lenny main contrib non-free
deb-src ftp://mir1.ovh.net/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

#~~~~~~Squeeze~~~~~~#
#deb http://mir1.ovh.net/debian/ squeeze main non-free contrib
#deb-src http://mir1.ovh.net/debian/ squeeze main non-free contrib

#deb http://security.debian.org/ squeeze/updates main contrib non-free
#deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# Backports
deb http://www.backports.org/debian lenny-backports main contrib non-free' > /etc/apt/sources.list

aptitude update

echo '+++ Installing backports keyring...'
aptitude --allow-untrusted install debian-backports-keyring

echo '+++ Updating repositories...'
aptitude update

echo '+++ Installing software...'
aptitude -y install htop mc mysql-server-5.1 build-essential pkg-config libboost-dev libgmp3-dev liblua5.1-0-dev libboost1.40-dev libboost-system1.40-dev libboost-filesystem1.40-dev libboost-date-time1.40-dev libboost-regex1.40-dev libboost-thread1.40-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient-dev mysql-client-5.1 mysql-server-5.1 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev zlib1g-dev zlib1g libcrypto++-dev ccache

To powinno rozwiązać twoje problemy ;)
 
Back
Top