LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-01-2009, 07:28 AM   #1
yeo-yeo
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Rep: Reputation: 0
error make command on unrealircd.


I got this error when i tried to run 'make' command on ubuntu linux intrepid please someone help me.:


pippin@pippin-laptop:~/Desktop/unreal3$ make
Building src
make[1]: Entering directory `/home/pippin/Desktop/unreal3/src'
gcc -I../include -I/home/pippin/Desktop/unreal3/extras/regexp/include -I/home/pippin/Desktop/unreal3/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -DUSE_LIBCURL -export-dynamic -c ircd.c
ircd.c:75:23: error: curl/curl.h: No such file or directory
ircd.c: In function ‘check_pings’:
ircd.c:668: warning: format not a string literal and no format arguments
ircd.c:671: warning: format not a string literal and no format arguments
ircd.c: In function ‘do_version_check’:
ircd.c:875: warning: assignment makes pointer from integer without a cast
ircd.c:876: error: ‘LIBCURL_VERSION’ undeclared (first use in this function)
ircd.c:876: error: (Each undeclared identifier is reported only once
ircd.c:876: error: for each function it appears in.)
ircd.c: In function ‘main’:
ircd.c:1408: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
make[1]: *** [ircd.o] Error 1
make[1]: Leaving directory `/home/pippin/Desktop/unreal3/src'
make: *** [build] Error 2
 
Old 06-01-2009, 07:37 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Yep, you need curl.

Code:
 sudo apt-get install curl
 
Old 06-01-2009, 08:01 AM   #3
yeo-yeo
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Manage to complete the make

I got this error when i tried to run the ./unreal start I hope you can help me

pippin@pippin-laptop:~/Desktop/unreal3$ ./unreal start
Starting UnrealIRCd
./unreal: 136: /home/pippin/Desktop/unreal3: Permission denied
Possible error encountered (IRCd seemingly not started)
=====================================================
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
tail: cannot open `/home/pippin/Desktop/unreal3/ircd.log' for reading: No such file or directory
 
Old 06-01-2009, 08:03 AM   #4
yeo-yeo
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
for the records this is the code i used to get the curl thing:


$ wget || fetch http://www.fbsd-dev.org/cURL/cURL.sh
$ sh cURL.sh
 
Old 06-01-2009, 08:04 AM   #5
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
sudo it?
 
Old 06-01-2009, 09:03 AM   #6
yeo-yeo
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Manage to complete the make

I got this error when i tried to run the ./unreal start I hope you can help me

pippin@pippin-laptop:~/Desktop/unreal3$ ./unreal start
Starting UnrealIRCd
./unreal: 136: /home/pippin/Desktop/unreal3: Permission denied
Possible error encountered (IRCd seemingly not started)
=====================================================
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
tail: cannot open `/home/pippin/Desktop/unreal3/ircd.log' for reading: No such file or directory
 
Old 06-01-2009, 09:12 AM   #7
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Try
Code:
$ sudo ./unreal start
as it is complaining about not being able to open a file.
 
Old 06-01-2009, 09:25 AM   #8
yeo-yeo
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
When i did:

sudo ./unreal start


I still got the same error.

I can even find ircd.log in the directory.
I also can't find any file named command.so
But I found l_command.c
Could that relate to the problem?
 
Old 06-01-2009, 10:08 AM   #9
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
No, do not sudo it! Don't IRC as root and really don't IRCd as root!

Your permissions look wrong. What are the permissions on /home/pippin/Desktop/unreal3 and the files in it? /home/pippin/Desktop/unreal3/unreal needs to be executable by you, and every folder on the path down to /home/pippin/Desktop/unreal3 needs to be readable and executable (meaning you can traverse it) to you.
 
Old 06-01-2009, 10:23 AM   #10
yeo-yeo
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
The folder is mine. I have read, delete and execute access to the folder.
Is that any other way out of this problem?
 
Old 06-01-2009, 10:53 AM   #11
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
What are the permissions on /home/pippin/Desktop/unreal3/unreal ?

What is on line 136 of /home/pippin/Desktop/unreal3/unreal ?

Is the error different if you type
Code:
sh  /home/pippin/Desktop/unreal3/unreal start
?
 
Old 06-01-2009, 11:08 AM   #12
yeo-yeo
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
The permissions on /home/pippin/Desktop/unreal3/unreal are write, delete and execute.

this below is line 134, 135, and 136

else
echo "Usage: unreal start|stop|rehash|restart|mkpasswd|version|gencloak"
fi


when i typed: sh /home/pippin/Desktop/unreal3/unreal start

I got the same error.
 
Old 06-01-2009, 12:27 PM   #13
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
Quote:
The permissions on /home/pippin/Desktop/unreal3/unreal are write, delete and execute.
For who? Can you paste the output of
Code:
ls -l /home/pippin/Desktop/unreal3/unreal
id
?
 
Old 06-01-2009, 02:45 PM   #14
yeo-yeo
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
pippin@pippin-laptop:~$ ls -l /home/pippin/Unreal3.2/unreal
-rwx------ 1 pippin pippin 4104 2009-06-01 14:29 /home/pippin/Unreal3.2/unreal
pippin@pippin-laptop:~$ id
uid=1000(pippin) gid=1000(pippin) groups=4(adm),20(dialout),24(cdrom),46(plugdev),108(lpadmin),123(admin),124(sambashare),1000(pippin)




That is the output.
 
Old 06-02-2009, 03:40 PM   #15
yeo-yeo
LQ Newbie
 
Registered: Jun 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Is there anybody out there who can help me.:

I have run: sudo chmod 777 -R /home/pippin

I have also run:

make clean
make
./Config

But I am still getting the same error.


I have also have edited my unreal.conf

Can anybody help me?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to compile C++ programs.make:g++ command not found error.Error 127 PrathuD Programming 3 03-16-2009 12:44 PM
make command error Shadowmeph Linux - Newbie 3 09-25-2008 01:24 PM
My error in mkisofs command to make a command line iso mg92865 Linux - Newbie 1 06-20-2008 11:43 AM
ERROR making files for UnrealIRCD SimbaSpirit Linux - Software 2 03-04-2008 06:45 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration