Results 1 to 10 of 10
Please help me building a good repo to make pidgin work in my test server.
The package manager fails with:
"Cannot retrieve repository metadata (repomd.xml) for repository: pidgin-source. Please verify ...
- 06-12-2009 #1Just Joined!
- Join Date
- Aug 2006
- Location
- Costa Rica
- Posts
- 41
Pidgin for RHEL5.3
Please help me building a good repo to make pidgin work in my test server.
The package manager fails with:
"Cannot retrieve repository metadata (repomd.xml) for repository: pidgin-source. Please verify its path and try again"
The repo I got from pidgin page points to Centos so i browsed the URl and pointed to the RHEL5 directory but it did not work
Repo text below:
[pidgin]
name=Pidgin for RHEL/CentOS 5Server - i386
baseurl=http://rpm.pidgin.im/rhel/5Server/i386/
enabled=1
gpgcheck=1
gpgkey=http://rpm.pidgin.im/RPM-GPG-KEY-pidgin
[pidgin-debuginfo]
name=Pidgin for RHEL/CentOS 5Server - i386 - Debug
baseurl=http://rpm.pidgin.im/rhel/5Server/i386/debug/
enabled=0
gpgcheck=1
gpgkey=http://rpm.pidgin.im/RPM-GPG-KEY-pidgin
[pidgin-source]
name=Pidgin for RHEL/CentOS 5Server - i386 - Source
baseurl=http://rpm.pidgin.im/SRPMS/
enabled=0
gpgcheck=1
gpgkey=http://rpm.pidgin.im/RPM-GPG-KEY-pidgin
What is wrong?
- 06-12-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
I am running CentOS 5.3 and I was able to install pidgin very easily with yum: sudo yum install pidgin
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-12-2009 #3Just Joined!
- Join Date
- Aug 2006
- Location
- Costa Rica
- Posts
- 41
still same error with the repo
I just tried and this is what I got:
sudo yum install pidgin
RedHat-5.3Server-i386-errata | 951 B 00:00
COE-RedHat-5.3Server-noarch | 951 B 00:00
COE-RedHat-5.3Server-i386 | 951 B 00:00
COE-RedHat-nover-i386 | 951 B 00:00
RedHat-5.3Server-i386-Supplementary | 1.1 kB 00:00
HPCOE-RedHat-nover-i386 | 951 B 00:00
HPCOE-RedHat-nover-noarch | 951 B 00:00
HPCOE-nodist-nover-i386 | 951 B 00:00
RedHat-5.3Server-i386-Cluster | 1.1 kB 00:00
COE-RedHat-nover-noarch | 951 B 00:00
RedHat-5.3Server-i686-errata | 951 B 00:00
RedHat-5.3Server-i386-VT | 1.1 kB 00:00
HPCOE-RedHat-5.3Server-noarch | 951 B 00:00
http://rpm.pidgin.im/rhel/5Server/i3...ta/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: pidgin. Please verify its path and try again
.....
Ideas?
- 07-20-2009 #4Just Joined!
- Join Date
- Jul 2009
- Posts
- 8
hello pidgin
Well, I have centos 5.3 and I did the same: sudo yum install pidgin
but nothing occurs!!!.
I did it from my user name then I execute the command from the place the repo is installed: etc/yum.repos.d/.
It says Divingintheocean is not in the sudoers file. This incident will be reported.
I try to have access to the sudoers file I cannot. This is my laptop but so many restrictions. It suppose to execute with the "sudo" command but it did not want.
If somebody has experience this difficulty let me know, probably I miss something basic, since I do not know very much about linux.
See you
- 07-21-2009 #5
sudo isn't set up by default on centos, you need to enable it for your user
- 07-21-2009 #6
To enable your user to have full admin privileges with sudo, do
Note that you should not edit the /etc/sudoers file just using your text editor. Visudo allows you to safely edit the file, and checks for errors.Code:su - visudo
Add a line:
USER_NAME ALL=(ALL) ALL
Where USER_NAME is your user name. There is also generally a group you can use instead of the user name, which would allow any user who is a member of the group admin privileges. I don't know what it is called in CentOS, however.
You'll probably also want to addto /home/USER_NAME/.bashrc to enable bash completion using sudo.Code:complete -cf sudo
As an semi-amusing thing, look for the line beginning Defaults while using visudo and add insults to the list.
Code:#Defaults specification Defaults insults
- 07-21-2009 #7Just Joined!
- Join Date
- Jul 2009
- Posts
- 8
hello pidgin, emacs color, gcc
Thank's for the reply....
It works with "su" but nothing happens with "visudo". It says bash: visudo: command not found
Anyway I open this file with emacs editor.
I type first su (enter)
then
emacs /etc/sudoers &
then I added this line at the bottom of this file:
ME=(ALL) ALL
later in the command line I typed
emacs /home/ME/.bashrc
And it created this file:
# .bashrc
# source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions.
Then I look for it in the command line but it disappears, I think this file is not visible or it is not even a file...
Well, that is what I did, and seems that it works
Now I have two more questions, look I do not want to annoy you to much about asking questions, maybe you have a web page or something about it, so I can read.
I remember that in order to have colors in my verilog or c++ files in the emacs editor, I have to add some lines in the sudoers flie, but do not know where or what?.
The other question is why GCC cannot compile the programs that I write in C++
For instance this basic one:
#include<cstdlib>
#include<iostream>
#define pi 3.141592
using namespace std;
int main(int argc char *argv[])
{
float radio, longitud, area;
cin>> radio;
longitud = 2*radio*radio;
area = pi*radio*radio;
cout<<"radio ="<<radio<<endl;
cout<<"area ="<<area<<endl;
cout<<"Presione Enter para continuar"; //system("PAUSE");
cint.get(); //return EXIT_SUCCESS;
return 0;
}
The error is that cint.get is not recognized and main function arguments is wrong?. Do I have to change the libraries or something?
This is the command that I use to compile my program:
gcc circunfe.cpp
Thank's for your help...
Mario
- 07-22-2009 #8
you need a comma after the int argc, cint.get is not a function in any of those libraries you included
- 07-22-2009 #9Just Joined!
- Join Date
- Jul 2009
- Posts
- 8
- 07-22-2009 #10
you should be using g++ to compile c++ code


Reply With Quote
