[newbie] Compile X.org from source in Mandrake 10.1

2005-02-04 Thread Teddy Widhi
Hi,

Everybody have experience with compile x.org 6.8.1 from source?
i want to experiment to compile xorg 6.8.1 from source in my mandrake
10.1. how to install the xorg from source?

Thank you

Teddy


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Compile X.org from source in Mandrake 10.1

2005-02-04 Thread Derek Jennings
On Friday 04 February 2005 10:43, Teddy Widhi wrote:
 Hi,

 Everybody have experience with compile x.org 6.8.1 from source?
 i want to experiment to compile xorg 6.8.1 from source in my mandrake
 10.1. how to install the xorg from source?

 Thank you

 Teddy

As always you are best off compiling the src.rpm
I am running 6.8.2 which I got by downloading the src.rpm from Cooker
ftp://ftp.rediris.es/pub/linux/distributions/mandrake-devel/cooker/SRPMS/main

Recompiling Cooker RPMs is not always successful, but at the moment xorg-6.8.2 
compiles on Mandrake 10.1 OK.

To compile a src.rpm create a directory structure in your /home of

~/rpm
~/rpm/BUILD
~/rpm/SPECS
~/rpm/SOURCES
~/rpm/RPMS
~/rpm/RPMS/i586
~/rpm/RPMS/noarch
~/rpm/RPMS/i386
~/rpm/RPMS/i686
~/rpm/RPMS/athlon
~/rpm/SRPMS
~/rpm/tmp

then create a file ~/.rpmrc containing
#buildarchtranslate: i386: i586
#buildarchtranslate: i486: i586
#buildarchtranslate: i586: i586
#buildarchtranslate: i686: i586

optflags: i386 -O2 -fomit-frame-pointer -pipe -march=i386 %{debugcflags}
optflags: i486 -O2 -fomit-frame-pointer -pipe -march=i486 %{debugcflags}
optflags: k6   -O2 -fomit-frame-pointer -pipe -march=k6 %{debugcflags}
optflags: i586 -O2 -fomit-frame-pointer -pipe -march=i586 %{debugcflags}
optflags: i686 -O2 -fomit-frame-pointer -pipe -march=i686 %{debugcflags}
optflags: athlon -O2 -fomit-frame-pointer -pipe -march=athlon %{debugcflags}


Download the src.rpm and as USER (not root) install it with
rpm -ivh package_name.src.rpm

It will install the source files (plus patches) into ~/rpm/SOURCES and a file 
xorg.spec into ~/rpm/SPECS

View xorg.spec and edit it if you wish to change the way xorg is compiled.
The specfile is a set of instructions on how to patch the source, and how to 
build 'Mandrake' packages. Once you are happy with the spec file cd to the  
~/rpm/SPECS directory, and as USER NOT root run
rpmbuild -bb xorg.spec
(You may need to install the rpmbuilder package)
Go away have a cup of tea, some dinner, go down the pub, have several beers. 
Stop for a kebab on the way home, and watch some late night telly.

When the compiling is finished you will find a whole bunch of RPMs have 
appeared in ~/rpm/RPMS/i586 Install them in the usual way.

HTH

derek


-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Compile X.org from source in Mandrake 10.1

2005-02-04 Thread Teddy Widhi
Hi,
Thank you so much, i will download the src rpm Mr. Derek. i will try
from your tutorial...
Thank you.

Teddy Widhi L.
Penguin Power!


On Fri, 4 Feb 2005 11:15:43 +, Derek Jennings
[EMAIL PROTECTED] wrote:
 On Friday 04 February 2005 10:43, Teddy Widhi wrote:
  Hi,
 
  Everybody have experience with compile x.org 6.8.1 from source?
  i want to experiment to compile xorg 6.8.1 from source in my mandrake
  10.1. how to install the xorg from source?
 
  Thank you
 
  Teddy
 
 As always you are best off compiling the src.rpm
 I am running 6.8.2 which I got by downloading the src.rpm from Cooker
 ftp://ftp.rediris.es/pub/linux/distributions/mandrake-devel/cooker/SRPMS/main
 
 Recompiling Cooker RPMs is not always successful, but at the moment xorg-6.8.2
 compiles on Mandrake 10.1 OK.
 
 To compile a src.rpm create a directory structure in your /home of
 
 ~/rpm
 ~/rpm/BUILD
 ~/rpm/SPECS
 ~/rpm/SOURCES
 ~/rpm/RPMS
 ~/rpm/RPMS/i586
 ~/rpm/RPMS/noarch
 ~/rpm/RPMS/i386
 ~/rpm/RPMS/i686
 ~/rpm/RPMS/athlon
 ~/rpm/SRPMS
 ~/rpm/tmp
 
 then create a file ~/.rpmrc containing
 #buildarchtranslate: i386: i586
 #buildarchtranslate: i486: i586
 #buildarchtranslate: i586: i586
 #buildarchtranslate: i686: i586
 
 optflags: i386 -O2 -fomit-frame-pointer -pipe -march=i386 %{debugcflags}
 optflags: i486 -O2 -fomit-frame-pointer -pipe -march=i486 %{debugcflags}
 optflags: k6   -O2 -fomit-frame-pointer -pipe -march=k6 %{debugcflags}
 optflags: i586 -O2 -fomit-frame-pointer -pipe -march=i586 %{debugcflags}
 optflags: i686 -O2 -fomit-frame-pointer -pipe -march=i686 %{debugcflags}
 optflags: athlon -O2 -fomit-frame-pointer -pipe -march=athlon %{debugcflags}
 
 Download the src.rpm and as USER (not root) install it with
 rpm -ivh package_name.src.rpm
 
 It will install the source files (plus patches) into ~/rpm/SOURCES and a file
 xorg.spec into ~/rpm/SPECS
 
 View xorg.spec and edit it if you wish to change the way xorg is compiled.
 The specfile is a set of instructions on how to patch the source, and how to
 build 'Mandrake' packages. Once you are happy with the spec file cd to the
 ~/rpm/SPECS directory, and as USER NOT root run
 rpmbuild -bb xorg.spec
 (You may need to install the rpmbuilder package)
 Go away have a cup of tea, some dinner, go down the pub, have several beers.
 Stop for a kebab on the way home, and watch some late night telly.
 
 When the compiling is finished you will find a whole bunch of RPMs have
 appeared in ~/rpm/RPMS/i586 Install them in the usual way.
 
 HTH
 
 derek
 
 --
 www.jennings.homelinux.net
 http://twiki.mdklinuxfaq.org
 
 
 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 Join the Club : http://www.mandrakeclub.com
 
 
 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] compile error - gcc not found

2004-05-02 Thread eric jackson

- Original Message - 
From: cdrack [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 26, 2004 4:51 PM
Subject: Re: [newbie] compile error - gcc not found


 Can you mail us the message from youre compile
 attemp...?

Sure.

Creating Cache ./config.cache
Checking For gcc - no
Checking for cc - no
Configure error
No acceptable cc found in $PATH

I have gcc-cpp installed.


Eric Jackson
[EMAIL PROTECTED]



 Cdrack
 --- eric jackson [EMAIL PROTECTED] wrote:
  Hi,
 
  I tried compile some software today. It was my first
  attempt. I got an error saying no compiler was
  found.
 
  I checked and gcc-cc is installed.
 
  What do I have to do to have it found when I try to
  compile some software?
 
  Eric
 





 __
 Do you Yahoo!?
 Yahoo! Photos: High-quality 4x6 digital prints for 25¢
 http://photos.yahoo.com/ph/print_splash








 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 Join the Club : http://www.mandrakeclub.com
 





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] compile error - gcc not found

2004-05-02 Thread Marc Resnick
eric jackson wrote:

- Original Message - 
From: cdrack [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 26, 2004 4:51 PM
Subject: Re: [newbie] compile error - gcc not found

 

Can you mail us the message from youre compile
attemp...?
   

Sure.

Creating Cache ./config.cache
Checking For gcc - no
Checking for cc - no
Configure error
No acceptable cc found in $PATH
I have gcc-cpp installed.

Eric Jackson
[EMAIL PROTECTED]
 

Cdrack
--- eric jackson [EMAIL PROTECTED] wrote:
   

Hi,

I tried compile some software today. It was my first
attempt. I got an error saying no compiler was
found.
I checked and gcc-cc is installed.

What do I have to do to have it found when I try to
compile some software?
Eric

 



__
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
   





 


Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com

   



 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com

 

My guess:

Just do a urpmi gcc -a as root. One of them has to fix it ;-).

--
Marc Resnick
Registered Linux User #350533
For those about to rock; I salute you.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] compile error - gcc not found

2004-05-02 Thread JoeHill
On Sun, 2 May 2004 13:38:17 -0400
eric jackson disseminated the following:

  Can you mail us the message from youre compile
  attemp...?
 
 Sure.
 
 Creating Cache ./config.cache
 Checking For gcc - no
 Checking for cc - no
 Configure error
 No acceptable cc found in $PATH
 
 I have gcc-cpp installed.

You should have at least this:

[EMAIL PROTECTED]:~$rpm -qa | grep gcc
libgcc1-3.3.1-2mdk
gcc-cpp-3.3.1-2mdk
gcc-3.3.1-2mdk
gcc-c++-3.3.1-2mdk

-- 
JoeHill
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
In this possibly terminal phase of human existence, democracy and freedom are
more than just ideals to be valued - they may be essential to survival --
Noam Chomsky


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] compile error - gcc not found

2004-05-02 Thread JoeHill
On Sun, 2 May 2004 17:55:44 -0400
eric jackson disseminated the following:

 Thanks for your suggestion, Joe. I have  successfully compiled my first
 linux program!

It just gets better. Now head on over to Sourceforge and bask in the glory.

-- 
JoeHill
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
It is the world that has been pulled over your eyes, to blind you from the
truth... -- Morpheus, in The Matrix, describing Fox News


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] compile asm in C

2004-03-13 Thread Len Lawrence
On Wed, 10 Mar 2004 15:14:33 -0500
Chungwei Hsiung [EMAIL PROTECTED] wrote:

 Hello guys
   I have a question. I've seen things like that being done on some 
 articles, but somehow it doesn't work on my machine. If you know how to 
 solve this problem, please let me know. I really appreciate it.
 I would like to know how to compile a C file when there are assembly 
 code in it like the following:
 void main() {
 __asm__(
 move   $0x0, %ebx
 move   $0x1, %eax 
 int$0x80 
 );
 }
 I tried to compile it, and it doesn't work. Do I miss any library or 
 what can I do to resolve this problem???
 
 btw, mine is MDK9.2
OK, Mandrake 9.2.

I tried it like this and it compiled without errors.
int main() {
__asm__(
mov   $0x0, %ebx\n
mov   $0x1, %eax\n
int   $0x80\n
);
return 0;
}


-- 
Len Lawrence

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] compile asm in C

2004-03-13 Thread Len Lawrence
On Wed, 10 Mar 2004 15:14:33 -0500
Chungwei Hsiung [EMAIL PROTECTED] wrote:

 Hello guys
   I have a question. I've seen things like that being done on some 
 articles, but somehow it doesn't work on my machine. If you know how to 
 solve this problem, please let me know. I really appreciate it.
 I would like to know how to compile a C file when there are assembly 
 code in it like the following:
 void main() {
 __asm__(
 move   $0x0, %ebx
 move   $0x1, %eax 
 int$0x80 
 );
 }
 I tried to compile it, and it doesn't work. Do I miss any library or 
 what can I do to resolve this problem???
 
 btw, mine is MDK9.2
OK, Mandrake 9.2.

I tried it like this and it compiled without errors.
int main() {
__asm__(
mov   $0x0, %ebx\n
mov   $0x1, %eax\n
int   $0x80\n
);
return 0;
}


-- 
Len Lawrence

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] compile asm in C

2004-03-10 Thread Chungwei Hsiung
Hello guys
 I have a question. I've seen things like that being done on some 
articles, but somehow it doesn't work on my machine. If you know how to 
solve this problem, please let me know. I really appreciate it.
I would like to know how to compile a C file when there are assembly 
code in it like the following:
void main() {
__asm__(
   move   $0x0, %ebx
   move   $0x1, %eax 
   int$0x80 
);
}
I tried to compile it, and it doesn't work. Do I miss any library or 
what can I do to resolve this problem???

btw, mine is MDK9.2

best regards,
Chungwei
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] compile kernel

2003-09-19 Thread David A Simatupang
hello.

my name is david simatupang. i'm new to this mailing list. i want to ask 2 
question :
1. how to make a program to rpm. 
   ex: program hello.c 
2. how to compile linux kernel so it can recognize NTFS.

Thank's for your help!

-- 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] compile kernel

2003-09-19 Thread Anne Wilson
On Friday 19 Sep 2003 4:35 pm, Eric Huff wrote:
 Welcome to the list David.

 Can't help on the kernel compile, but here's a friendly link to
 Mandrake Mailing List Etiquette.
 You (unknowingly) hijacked this thread, so check out the hijacking
 section in:

 http://mandrake.vmlinuz.ca/bin/view/Main/MandrakeMailingListEtiquet
te

 There's lots of other great info there, too.  An easier to remember
 link is:
 http://twiki.mdklinuxfaq.org

http://twiki.mdklinuxfaq.org takes you to the home page.  You will 
need to delete WebHome and replace it with 
MandrakeMailingListEtiquette when you get there, or use the full link 
above.

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] compile errors-- compiler cannot create executables?

2003-01-22 Thread Jerry Barton
On 22 Jan 2003 06:42:53 +1100
Stephen Kuhn [EMAIL PROTECTED] wrote:
snip

- THEN try it all over again...if
 THAT doesn't work, then blame Anne.
snip

well Anne's off the hook this time-- i was missing gcc-c++ :P

LOL

Jerrry.


-- 
-- 
Registered Linux User #300600
Registered Linux Machine #185855


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile errors-- compiler cannot create executables?

2003-01-22 Thread Anne Wilson
On Tuesday 21 Jan 2003 1:14 pm, Jerry Barton wrote:
 On 22 Jan 2003 06:42:53 +1100
 Stephen Kuhn [EMAIL PROTECTED] wrote:
 snip

 - THEN try it all over again...if

  THAT doesn't work, then blame Anne.

 snip

 well Anne's off the hook this time-- i was missing gcc-c++ :P

 LOL

 Jerrry.

LOL - Cat's had kittens and I get blamed for everything ;)

Anne
-- 
Registered Linux User No.293302



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile errors-- compiler cannot create executables?

2003-01-22 Thread Jerry Barton
On Wed, 22 Jan 2003 13:49:59 +
Anne Wilson [EMAIL PROTECTED] wrote:

 On Tuesday 21 Jan 2003 1:14 pm, Jerry Barton wrote:
  On 22 Jan 2003 06:42:53 +1100
  Stephen Kuhn [EMAIL PROTECTED] wrote:
  snip
 
  - THEN try it all over again...if
 
   THAT doesn't work, then blame Anne.
 
  snip
 
  well Anne's off the hook this time-- i was missing gcc-c++ :P
 
  LOL
 
  Jerrry.
 
 LOL - Cat's had kittens and I get blamed for everything ;)
 
 Anne
 -- 
 Registered Linux User No.293302
 
 
 

/me sends Anne a can of Blame-B-Gone ;-)

Jerry.


-- 
-- 
Registered Linux User #300600
Registered Linux Machine #185855


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile errors-- compiler cannot create executables?

2003-01-21 Thread Raffaele Belardi
Don't know if it makes sense, but have you tried

$ whereis g++

On my MDK9.0 I get:
g++: /usr/bin/g++ /usr/share/man/man1/g++.1.bz2

From your log looks like g++ is not installed. It could be in a 
different package than gcc (i.e. gcc-c++)

raffaele

[EMAIL PROTECTED] wrote:
below is the output when trying to run ./configure from a source tarball of gtop 1.0.13.  
I've never seen this error before below also is my gcc version.
i've tried running it as root with the same results.

any ideas why?


Jerry.


[jerry@main gtop-1.0.13]$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr//bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gnome-config... /usr//bin/gnome-config
checking if /usr//bin/gnome-config works... yes
checking for orbit-config... /usr//bin/orbit-config
checking for orbit-idl... /usr//bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
[jerry@main gtop-1.0.13]$

[root@main gtop-1.0.13]# gcc --version
gcc (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@main gtop-1.0.13]#




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile errors-- compiler cannot create executables?

2003-01-21 Thread Jerry Barton
ah yes... thanks i've upgraded all the glibc and must have overlooked gcc-c++
it worked.  thanks

Jerry

On Tue, 21 Jan 2003 16:38:10 +0100
Raffaele Belardi [EMAIL PROTECTED] wrote:

 Don't know if it makes sense, but have you tried
 
 $ whereis g++
 
 On my MDK9.0 I get:
 g++: /usr/bin/g++ /usr/share/man/man1/g++.1.bz2
 
  From your log looks like g++ is not installed. It could be in a 
 different package than gcc (i.e. gcc-c++)
 
 raffaele
SNIP


-- 
-- 
Registered Linux User #300600
Registered Linux Machine #185855


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile errors-- compiler cannot create executables?

2003-01-21 Thread Stephen Kuhn
On Tue, 2003-01-21 at 00:52, Jerry Barton wrote:
 below is the output when trying to run ./configure from a source tarball of gtop 
1.0.13.  
 I've never seen this error before below also is my gcc version.
 i've tried running it as root with the same results.
 
 any ideas why?
 Jerry.
WHACK
 checking whether the C++ compiler (gcc  ) works... no
 configure: error: installation or configuration problem: C++ compiler cannot create 
executables.
 [jerry@main gtop-1.0.13]$
WHACK

You might want to make sure that ALL the relevant dev packages are
installed - headers, libs and the likes - not being able to create and
executable is generally a header/lib issue - so once you're ABSOLUTELY
POSITIVE you've got all the dev stuff loaded, double check your
/etc/ld.so.conf file so that has all the proper bits and bobs in it -
and even add: /usr/lib and /usr/local/lib for the hell of it - and rerun
ldconfig to rebuild the lib path cache - THEN try it all over again...if
THAT doesn't work, then blame Anne.

-- 
Wed, 22 Jan 2003 06:35:00 +1100
  6:35am  up 5 days, 16:18,  5 users,  load average: 0.25, 0.15, 0.20
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  || |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`'   | Berkeley, New South Wales, AU   |
--
 linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting
--

A good bookshop is just a genteel Black Hole that knows how to read.
(Guards! Guards!)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] compile attempt

2002-12-01 Thread Dave Kubasiak
Okay, I'm going to show my extreme newbie-ness.  :)  I'm attempting to
install the newest version of GnomeICU (0.98.126).  I currently run
version 0.98.3.  When I execute the ./configure script, I get the
following result:

configure: error: Library requirements (libglade-2.0 = 2.0.0
  libgnomeui-2.0 = 2.0.0
  gnet = 1.1.3
  libxml-2.0 = 2.4.7) not met; consider adjusting the
PKG_CONFIG_PATH environment variable if your libraries are in a
nonstandard prefix so pkg-config can find them.

If I'm reading this correctly, I'm either missing a file (or several) or
I need to add something to a 'PKG_CONFIG_PATH' somewhere.  

I have a very shaky grasp on this whole download/configure/make/install
process and this is the first time I've made the attempt. Can anyone
give me any pointers on what to look for/check on based on the above
./configure result?

Thanx!

Dave Kubasiak





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile attempt

2002-12-01 Thread Dennis Myers
On Sunday 01 December 2002 06:30 pm, Dave Kubasiak wrote:
 Okay, I'm going to show my extreme newbie-ness.  :)  I'm attempting to
 install the newest version of GnomeICU (0.98.126).  I currently run
 version 0.98.3.  When I execute the ./configure script, I get the
 following result:

 configure: error: Library requirements (libglade-2.0 = 2.0.0
   libgnomeui-2.0 = 2.0.0
   gnet = 1.1.3
   libxml-2.0 = 2.4.7) not met; consider adjusting the
 PKG_CONFIG_PATH environment variable if your libraries are in a
 nonstandard prefix so pkg-config can find them.

 If I'm reading this correctly, I'm either missing a file (or several) or
 I need to add something to a 'PKG_CONFIG_PATH' somewhere.

 I have a very shaky grasp on this whole download/configure/make/install
 process and this is the first time I've made the attempt. Can anyone
 give me any pointers on what to look for/check on based on the above
 ./configure result?

 Thanx!

 Dave Kubasiak

Dave, it is telling you that the four packages it lists, libglade, libgnomeui, 
gnet, and libxml  that you currently have on your system (or do not have as 
the case may be) are not compatible with what you are trying to install and 
that you need to upgrade to a package that is at least equal to or greater 
than the listed packages. In other words you need to upgrade libglade to at 
least libglade-2.0.0-xxx.rpm or greater. You can find them at  
http://www.rpmfind.net/  and type in a search for each package and download 
them as rpms. Then all you have to do is go into the file you downloaded to 
and left click on the rpm file and it will begin the install for you. Try it 
and see if you have any other questions. The rpm files at rpmfind.net are 
best for the Mandrake-Linux OS if they have mdk in their name and show as 
Mandrake rpm's.  HTH
-- 
Dennis M.  linux user # 180842


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Compile/install issues

2002-11-06 Thread Stephen Kuhn
I've tried to compile a proggie for the KDE panel - FireApplet - which
SEEMS to compile nicely, and SEEMS to put itself where it's supposed to
live - BUT, it isn't registering in KDE at all...even after I've wiped
out my ~/.kde* files and the likes in order to rebuild them, the applets
just ain't showing up...any clues?

-- 
Thu Nov  7 14:35:00 EST 2002


|____  |
|   /  \ /| |'-.   |
|  .\__/ || |   |  |
|   _ /  `._ \|_|_.-'  |
|  | /  \__.`=._) (_   |kuhn media australia
|  |/ ._/  || |http://kma.0catch.com
|  |'.  `\ | | |stephen kuhn
|  ;/ / | | |email: [EMAIL PROTECTED]
|  smk  ) /_/| |.---.| |mobile: 0410-728-389
|  '  `-`'   |


There is something you must understand about the Soviet system.  They
have the
ability to concentrate all their efforts on a given design, and develop
all
components simulateously, but sometimes without proper testing.  Then
they end
up with a technological disaster like the Tu-144.  In a technology race
at
the time, that aircraft was two months ahead of the Concorde.  Four
Tu-144s
were built; two have crashed, and two are in museums.  The Concorde has
been
flying safely for over 10 years.
-- Victor Belenko, MiG-25 fighter pilot who defected in 1976
   Defense Electronics, Vol 20, No. 6, pg. 100


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] compile C with GCC in mandrake 9

2002-10-30 Thread teddy wl
Hi

Today I installed mandrake 9 on my computer, the first
i try to make list a simple program ( C language )
just output the text on console. but after i compile
the source file like this

#gcc -o helloworld helloworld.c

the console apears warning about no newline in... i
forget the warning.

but the result of compilation success, i can see the
file executable apears with command ls.
and I try to run this file like this ./helloworld...
the result it's still ok, no problem, but i don't like
if every compile source.c i still show the warning...
what should I do?

Teddy

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile C with GCC in mandrake 9

2002-10-30 Thread Damian
El Mié 30 Oct 2002 15:39, teddy wl escribió:
 Hi

 Today I installed mandrake 9 on my computer, the first
 i try to make list a simple program ( C language )
 just output the text on console. but after i compile
 the source file like this

 #gcc -o helloworld helloworld.c

 the console apears warning about no newline in... i
 forget the warning.

 but the result of compilation success, i can see the
 file executable apears with command ls.
 and I try to run this file like this ./helloworld...
 the result it's still ok, no problem, but i don't like
 if every compile source.c i still show the warning...
 what should I do?

 Teddy

The warning you are getting is probably 
no newline at end of file ..i think it means that the
last character of your program is in exactly the last
line of the file, the warning just pops up because
that could mean a broken/incomplete file.

just add a couple of blank lines at the end
of your file. 

Hope it works.
-- 
Damian
--
Share your knowledge. It is a way to achieve immortality.(The Dalai Lama)



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] compile rdesktop on PPC?

2002-10-10 Thread jamie . kerwick

I can't help you with compiling .c sources, however, using
http://www.rpmfind.net/linux/rpm2html/search.php?query=rdesktop I have found
some rpms you could download and install instead. The latest version here is
1.1.0-5 (there's even mandrake specific rpms!).

Jamie


[EMAIL PROTECTED]
ITS
Internal Extension : 5806
Direct Dial: 0870 754 5806


-Original Message-
From: Gabe Knuth [mailto:[EMAIL PROTECTED]] 
Sent: 09 October 2002 21:52
To: [EMAIL PROTECTED]
Subject: [newbie] compile rdesktop on PPC?


Hello,

I've downloaded this application called rdesktop for connecting to Microsoft
Terminal Services sessions.  My issue is that it came down as a .c file and
I need to compile it - something I've never done before. Can anyone point me
in a direction?

Thanks,
Gabe





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile rdesktop on PPC?

2002-10-10 Thread Todd Flinders

Well, this is odd that you would get a .c by itself.  You should normally have 
a configure script and a Makefile.  If you do, you should also have a file 
called INSTALL which is a textfile with installation instructions.  If you 
don't have INSTALL most compilations and installations using Makefiles are as 
follows:

./configure
make
make install

You probably need to be root for make install unless you pass a --prefix flag 
and change where the program will be installed.

But with that out of the way, since you said you only got a .c (which is very 
odd), you can compile a simple .c program with the following:

gcc -Wall foo.c -o foo

However, depending on the complexity of the program, this may not be enough.  
You may need to use -I flags to include files not in the expected paths.  You 
may need flags like -lrt or -posix4.  It all depends on what the program is 
doing.


On Thursday 10 October 2002 01:49 am, [EMAIL PROTECTED] wrote:
 I can't help you with compiling .c sources, however, using
 http://www.rpmfind.net/linux/rpm2html/search.php?query=rdesktop I have
 found some rpms you could download and install instead. The latest version
 here is 1.1.0-5 (there's even mandrake specific rpms!).

 Jamie

 
 [EMAIL PROTECTED]
 ITS
 Internal Extension : 5806
 Direct Dial: 0870 754 5806
 

 -Original Message-
 From: Gabe Knuth [mailto:[EMAIL PROTECTED]]
 Sent: 09 October 2002 21:52
 To: [EMAIL PROTECTED]
 Subject: [newbie] compile rdesktop on PPC?


 Hello,

 I've downloaded this application called rdesktop for connecting to
 Microsoft Terminal Services sessions.  My issue is that it came down as a
 .c file and I need to compile it - something I've never done before. Can
 anyone point me in a direction?

 Thanks,
 Gabe




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile rdesktop on PPC?

2002-10-09 Thread Derek Jennings

So what is wrong with the rdesktop already on your install CD?

You can also find almost anything you need in ROM format on
www.rpmfind.net

for example
http://www.rpmfind.net//linux/RPM/mandrake/9.0/i586/Mandrake/RPMS/rdesktop-1.1.0-5mdk.i586.html

derek



On Wednesday 09 Oct 2002 9:52 pm, Gabe Knuth wrote:
 Hello,

 I've downloaded this application called rdesktop for connecting to
 Microsoft Terminal Services sessions.  My issue is that it came down as
 a .c file and I need to compile it - something I've never done before.
 Can anyone point me in a direction?

 Thanks,
 Gabe




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] compile rdesktop on PPC?

2002-10-09 Thread Gabe Knuth

I wasn't aware it was on the CD.  I've tried the rpmfind.net with the
same results you gave me, but I've been unable to download the file.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Derek Jennings
Sent: Wednesday, October 09, 2002 4:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] compile rdesktop on PPC?

So what is wrong with the rdesktop already on your install CD?

You can also find almost anything you need in ROM format on
www.rpmfind.net

for example
http://www.rpmfind.net//linux/RPM/mandrake/9.0/i586/Mandrake/RPMS/rdeskt
op-1.1.0-5mdk.i586.html

derek



On Wednesday 09 Oct 2002 9:52 pm, Gabe Knuth wrote:
 Hello,

 I've downloaded this application called rdesktop for connecting to
 Microsoft Terminal Services sessions.  My issue is that it came down
as
 a .c file and I need to compile it - something I've never done before.
 Can anyone point me in a direction?

 Thanks,
 Gabe






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile rdesktop on PPC?

2002-10-09 Thread shane

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 09 October 2002 6:15 pm, Gabe Knuth did speak unto the huddled 
masses, saying:

 I wasn't aware it was on the CD.  I've tried the rpmfind.net with the
 same results you gave me, but I've been unable to download the file.

 for example
 http://www.rpmfind.net//linux/RPM/mandrake/9.0/i586/Mandrake/RPMS/rdeskt
 op-1.1.0-5mdk.i586.html

not to be a spoil sport, but that isn't the PPC version for one thing..

- -- 
The idea that Bill Gates has appeared like a knight in shining armour to 
lead all customers out of a mire of technological chaos neatly ignores the 
fact that it was he who, by peddling second-rate technology, led them into 
it in the first place. -DOUGLAS ADAMS, Author

shane
Profile at: http://dmoz.org/profiles/shen.html
Proud to be a DMOZ editor since 10-98
Mandrake Users Club Member http://www.linux-mandrake.com/en/club/
Registered linux user #101606  http://counter.li.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9pOc/Bwq+ZwvIN/oRApOsAJ4xzYf3vQydG0Jdu9SzDN+J5jg6tACePkSX
+JmBZpvyValC7QfgGxiZRk4=
=aK7f
-END PGP SIGNATURE-




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] compile arson

2002-07-18 Thread Amandio Cordeiro


Boas

 i'm trying compile the program arson but i get the following error
message

ux-gnu/2.96/../../.. /usr/lib/libkdesu.so -lutil /usr/lib/libkssl.so
/usr/lib/li
bkdeui.so /usr/lib/libkdecore.so -ldl /usr/lib/libDCOP.so -lqt -lpng
/usr/lib/li
bjpeg.so -lXext -lX11 -lSM -lICE -lresolv -lXinerama -lz -lstdc++ -lm -lc
-lgcc
-Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib/qt3/lib -Wl,--rpath
-Wl,/usr/X
11R6/lib
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make[3]: ** [arson] Erro 1
make[3]: Saindo do diret\xf3rio `/mnt/disk/install/arson-0.9.6-kde3/src'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diret\xf3rio `/mnt/disk/install/arson-0.9.6-kde3/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diret\xf3rio `/mnt/disk/install/arson-0.9.6-kde3'
make: ** [all] Erro 2

i have installed mandrake 8.2 and kde3.0.2, so qt3 is installed. i'm new
at linux (and at speek english) and some aid will be welcomed




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile arson

2002-07-18 Thread Derek Jennings

On Tuesday 16 Jul 2002 5:05 pm, Amandio Cordeiro wrote:
 Boas

  i'm trying compile the program arson but i get the following error
 message

 ux-gnu/2.96/../../.. /usr/lib/libkdesu.so -lutil /usr/lib/libkssl.so
 /usr/lib/li
 bkdeui.so /usr/lib/libkdecore.so -ldl /usr/lib/libDCOP.so -lqt -lpng
 /usr/lib/li
 bjpeg.so -lXext -lX11 -lSM -lICE -lresolv -lXinerama -lz -lstdc++ -lm -lc
 -lgcc
 -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib/qt3/lib -Wl,--rpath
 -Wl,/usr/X
 11R6/lib
 /usr/bin/ld: cannot find -lqt
 collect2: ld returned 1 exit status
 make[3]: ** [arson] Erro 1
 make[3]: Saindo do diret\xf3rio `/mnt/disk/install/arson-0.9.6-kde3/src'
 make[2]: ** [all-recursive] Erro 1
 make[2]: Saindo do diret\xf3rio `/mnt/disk/install/arson-0.9.6-kde3/src'
 make[1]: ** [all-recursive] Erro 1
 make[1]: Saindo do diret\xf3rio `/mnt/disk/install/arson-0.9.6-kde3'
 make: ** [all] Erro 2

 i have installed mandrake 8.2 and kde3.0.2, so qt3 is installed. i'm new
 at linux (and at speek english) and some aid will be welcomed


You can find a kde3-arson RPM here
ftp://ftp.ibiblio.org/pub/Linux/distributions/contrib/texstar/Mandrake-8.2/RPMS

derek




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] compile gcc error, need help

2002-01-01 Thread eric

Dear linux programers:

  what may cause compiler error
[root@localhost c_program]# gcc hello.c
as: /lib/libc.so.6: version `GLIBC_2.2.3' not found (required by
/usr/lib/libbfd-2.11.92.0.12.so)

hope to see your help
eric, [EMAIL PROTECTED]



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile errors

2001-10-26 Thread Sridhar Dhanapalan

On Fri, 26 Oct 2001 10:12:14 -0400, Manuel Martin Martin [EMAIL PROTECTED]
wrote:
 i have mandrake 8 with gcc 2.96.
 I can not compile dlxcc program.th code of this program are in:
 
 ftp://max.stanford.edu/pub/max/pub/hennessy-patterson.software/dlx.tar.Z

  S N I P  

 
 help me please.
 
 thanks.

Some apps don't like GCC 2.96. Try switching compilers.

To switch to egcs:

$ export CC=egcs CXX=egcs++

To switch to GCC 3 (only in Mandrake 8.1, not 8.0):

$ export CC=gcc-3.0.1 CXX=gcc-3.0.1

You obviously require the relavant GCC packages to be installed.

-- 
Sridhar Dhanapalan

Anyone who says you can have a lot of widely dispersed people hack away on a
complicated piece of code and avoid total anarchy has never managed a software
project. -- Andrew S. Tanenbaum, 1992, writing to Linus Torvalds.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] compile errors

2001-10-26 Thread michael

On Friday 26 October 2001 02:27 am, you wrote:
 On Fri, 26 Oct 2001 10:12:14 -0400, Manuel Martin Martin [EMAIL PROTECTED]

 wrote:
  i have mandrake 8 with gcc 2.96.
  I can not compile dlxcc program.th code of this program are in:
 
  ftp://max.stanford.edu/pub/max/pub/hennessy-patterson.software/dlx.tar.Z

 S N I P  

  help me please.
 
  thanks.

 Some apps don't like GCC 2.96. Try switching compilers.

 To switch to egcs:

   $ export CC=egcs CXX=egcs++

 To switch to GCC 3 (only in Mandrake 8.1, not 8.0):

   $ export CC=gcc-3.0.1 CXX=gcc-3.0.1

 You obviously require the relavant GCC packages to be installed.

How cool! When I d/l'ed this (coming from Berkeley I am always intrigued at 
what the stanford weenies are doing) I got a new message (to me):
Error: I can't fork a decompressor. Time for me to RTFM some more!
-- 
-michael-



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] compile error

2000-12-21 Thread bascule

i keep getting 'can't find X includes' eror when trying to configure things, 
as it happens to different sources i guess it's something i don't have 
installed, if i knew what 'X includes' was though i could check, cold someone 
tell what it means please?

bascule




[newbie] compile source

2000-12-08 Thread Jon Doe

I have a file that is just source code "somefile.c" how would I compile this?

-- 
Registered Linux User 181996
ICQ 27396393




Re: [newbie] compile source

2000-12-08 Thread Jim Crossley

Jon Doe wrote:
 
 I have a file that is just source code "somefile.c" how would I compile this?

The simplest way is to use 'cc'.  Assuming somefile.c looks something
like this,

main() {
  printf ("Hello Merle\n");
}

You can feed it to cc like this:

$ cc somefile.c

That will either complain about syntax errors or generate an executable
file called 'a.out'.  You can execute your program like this:

$ ./a.out

It will then greet you as if your name were Merle.

-- Jim
http://www.lads.com/~jim




Re: [newbie] compile source

2000-12-08 Thread Jon Doe

On Friday 08 December 2000 11:24 pm, you wrote:


 The simplest way is to use 'cc'.  Assuming somefile.c looks something
 like this,

 main() {
   printf ("Hello Merle\n");
 }

 You can feed it to cc like this:

 $ cc somefile.c

 That will either complain about syntax errors or generate an executable
 file called 'a.out'.  You can execute your program like this:

 $ ./a.out

 It will then greet you as if your name were Merle.

 -- Jim
 http://www.lads.com/~jim

Thanks Jim! Worked like a charm

-- 
Registered Linux User 181996
ICQ 27396393




Re: [newbie] compile source

2000-12-08 Thread Anthony

gcc -o somefile somefile.c

Then execute the file by typing "./somefile"

 I have a file that is just source code "somefile.c" how would I compile
 this?

-- 
Anthony
http://binaryfusion.net
Press any key to continue, or any other key to quit.




[newbie] compile question

2000-08-30 Thread bascule

i just downloaded a gimp plugin that consisted of a readme file and one
file called ps.c i figure this is source code that needs to be compiled
but the usual ./configure etc doesn't seem to apply here, what do i do
with this any ideas, i think the result should be just one executable
that i then place in the appropriate directory

bascule




Re: [newbie] compile question

2000-08-30 Thread Andrew Scotchmer

On Wed, 30 Aug 2000, you wrote:
 i just downloaded a gimp plugin that consisted of a readme file and one
 file called ps.c i figure this is source code that needs to be compiled
 but the usual ./configure etc doesn't seem to apply here, what do i do
 with this any ideas, i think the result should be just one executable
 that i then place in the appropriate directory
 
 bascule

To compile a .c file you must use gcc.

Type gcc -o ps ps.c

The middle ps will then be the name of the executable. This can be changed to
anthing you like.

Andrew




Re: [newbie] compile question

2000-08-30 Thread bascule

hi andrew,
ran gcc -o ps ps.c as you suggested and received the following:

in file included from /usr/include/gdk/gdktypes.h:33,
 from /usr/include/gdk/gdk.h:31
 from /usr/include/gtk/gtk.h:31
 from ps.c:53:
/usr/include/glib.h:56 globconf.h: No such file or directory
ps.c:54 libgimp/gimp.h: No such file or directory

however there is a file named ps that has been created, is the above
indication of some sort of error in the compilation or just info?

bascule




[newbie] Compile

2000-02-06 Thread Chris and Jennifer Reeder

When I ran the 'make dep' step I got an error of "invalid option-- 
preferred stack boundary=2"So I changed /usr/src/linux/makefile
to read 'preferred stack boundary=1"That let me through the 'make
dep' step, but then I get the same error as before when I go to 'make
zImage'.   Has anyone else had this problem?  Any suggestions?  

Chris
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



Re: [newbie] Compile ??

1999-05-20 Thread Steve Philp

"James J. Capone" wrote:
 
 Are you able to compile in Visual C. I know we use the gcc program to
 compile in C . I have a friend at work that wants to know if the gpp
 compiler for Visual C++ is available in Linux. I am trying to get him to
 switch over and this is one of the questions I can not answer. Thanks

That's a confusing message you've posted!

Visual C++ is not available for Linux.  Microsoft couldn't compete with
the compilers already available for the platform.  The IDE might be
nice, but I'm sure that with a bit of searching you could find something
comparable.  I know MetroWorks has ported their CodeWarrior IDE to Linux
(saw it at CompUSA a couple days ago and almost bought it).

Compiling C++ source on Linux only requires that you install the g++ and
libraries packages and you should be up and running.

-- 
Steve Philp
[EMAIL PROTECTED]



Re: [newbie] Compile ??

1999-05-20 Thread Laurie Dare



"James J. Capone" wrote:

 Are you able to compile in Visual C. I know we use the gcc program to
 compile in C . I have a friend at work that wants to know if the gpp
 compiler for Visual C++ is available in Linux. I am trying to get him to
 switch over and this is one of the questions I can not answer. Thanks

 James J. Capone

Hey James...tried Python? Who needs Vizyouall anything anymore anyway? g.


Laurie Dare
'Old Fart'
[EMAIL PROTECTED]



[newbie] Compile ??

1999-05-19 Thread James J. Capone

Are you able to compile in Visual C. I know we use the gcc program to 
compile in C . I have a friend at work that wants to know if the gpp 
compiler for Visual C++ is available in Linux. I am trying to get him to 
switch over and this is one of the questions I can not answer. Thanks

James J. Capone
Webmaster http://www.angelfire.com/biz2/Linux
Asst. Webmaster http://www.ptm.com
Co-Author - Linux Book For Newbies.
"The Only Person To Hear Both Sides Of A Argument Is The Guy In The 
Apartment Next To Yours!"



[newbie] Compile/Install

1999-02-19 Thread Bababueee

Hey everyone! I'm VERY new to linux, and I just downloaded XISP. Well, after
extracting the .gz file, how do I install the program??? PLEASE HELP! It's
abou to drive me insane!!! :-).. well, Thanks for your time!