Re: Hello World Example Fails

2008-07-28 Thread hendrik
On Fri, Jul 25, 2008 at 08:28:12AM -0600, Dr. Nicholas Shaw wrote:
> I saw the maemo C++ (cplusplus-env) in downloads but it didn't install

Not C++.

g++.


-- hendrik

> (package not found).  I enabled both maemo extras devel 
(Chinook) and maemo
> extras devel and it isn't in the catalog.  Maybe you have a different
> catalog entry for these?
> 
> Nick.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of cedric cellier
> Sent: Friday, July 25, 2008 03:02
> To: maemo-users@maemo.org
> Subject: Re: Hello World Example Fails
> 
> -[ Thu, Jul 24, 2008 at 08:56:41AM -0600, Dr. Nicholas Shaw ]
> > If I ever find a C++ compiler for Maemo (OS2008), I'll be able to do the
> > work needed directly on the N810.  It seems that might be awhile... :-(
> 
> If you plan to compile directly on the n810 (true mobility with g++ on the
> go :-)) you should have a look on extra repositories from where you can
> apt-get gcc and, I think, g++ (application manager shows a
> "maemo-cplusplus-device-env" meta-package).
> 
> 
> ___
> maemo-users mailing list
> maemo-users@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
> 
> ___
> maemo-users mailing list
> maemo-users@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


RE: Hello World Example Fails

2008-07-25 Thread Dr. Nicholas Shaw
I saw the maemo C++ (cplusplus-env) in downloads but it didn't install
(package not found).  I enabled both maemo extras devel (Chinook) and maemo
extras devel and it isn't in the catalog.  Maybe you have a different
catalog entry for these?

Nick.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of cedric cellier
Sent: Friday, July 25, 2008 03:02
To: maemo-users@maemo.org
Subject: Re: Hello World Example Fails

-[ Thu, Jul 24, 2008 at 08:56:41AM -0600, Dr. Nicholas Shaw ]
> If I ever find a C++ compiler for Maemo (OS2008), I'll be able to do the
> work needed directly on the N810.  It seems that might be awhile... :-(

If you plan to compile directly on the n810 (true mobility with g++ on the
go :-)) you should have a look on extra repositories from where you can
apt-get gcc and, I think, g++ (application manager shows a
"maemo-cplusplus-device-env" meta-package).


___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Hello World Example Fails

2008-07-25 Thread cedric cellier
-[ Thu, Jul 24, 2008 at 08:56:41AM -0600, Dr. Nicholas Shaw ]
> If I ever find a C++ compiler for Maemo (OS2008), I'll be able to do the
> work needed directly on the N810.  It seems that might be awhile... :-(

If you plan to compile directly on the n810 (true mobility with g++ on the
go :-)) you should have a look on extra repositories from where you can
apt-get gcc and, I think, g++ (application manager shows a
"maemo-cplusplus-device-env" meta-package).


___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


RE: Hello World Example Fails

2008-07-24 Thread Dr. Nicholas Shaw
Thanks, Cedric - I'll check the log.  Since I'm running the most current
version of Debian and I installed the compilers (gcc and g++) along with
Glade, etc. I just assumed that the install script would work.  

If I ever find a C++ compiler for Maemo (OS2008), I'll be able to do the
work needed directly on the N810.  It seems that might be awhile... :-(

As I encounter issues, I'll post them to the developer forum as recommended
by Graham Cobb and I appreciate the responses and help!

Nick.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Cedric Cellier
Sent: Thursday, July 24, 2008 01:10
To: maemo-users@maemo.org
Subject: Re: Hello World Example Fails

> It goes well until
> the step "checking whether the C compiler works..."  There I get an error,
> "error: cannot run C compiled programs."

You will find more explanations by observing the actual error messages
in config.log. You will see what commands were tried by configure with
their output.

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Hello World Example Fails

2008-07-24 Thread Cedric Cellier
> It goes well until
> the step "checking whether the C compiler works..."  There I get an error,
> "error: cannot run C compiled programs."

You will find more explanations by observing the actual error messages
in config.log. You will see what commands were tried by configure with
their output.

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


RE: Hello World Example Fails

2008-07-23 Thread Dr. Nicholas Shaw
Thanks, Graham - I'll do that next if what I'm doing doesn't work...

Yes, it was a ARMEL target.  I did create a simple program and compiled it
using gcc - worked fine.  I'm not re-installing the packages.  At the very
least, I'll have real knowledge of the scratchbox after all this...

Nick.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Graham Cobb
Sent: Wednesday, July 23, 2008 12:18
To: maemo-users@maemo.org
Subject: Re: Hello World Example Fails

On Wednesday 23 July 2008 18:53:36 Dr. Nicholas Shaw wrote:
> Ok, I DO have scratchbox up-and-running.  Following the installdoc to test
> the new target, everything works up to generating the configure scripts,
> configuring the program, and generating its Makefile.  It goes well until
> the step "checking whether the C compiler works..."  There I get an error,
> "error: cannot run C compiled programs."

You might want to ask on the maemo-developers list -- more developers there.

Is this an ARMEL target or an I386 target?  There are sometimes some 
scratchbox problems with getting the armel targets to actually run armel 
programs (which is what scratchbox is all about, of course).  Most often 
problems with not having scratchbox installed properly but, sometimes, bugs 
in scratchbox, libc, etc.

configure should have created a config.log which might contain an error 
message.  You can also try creating a trivial C program, compiling it and 
running it yourself to see if it works.  The program configure uses is 
(essentially):

int
main ()
{

  ;
  return 0;
}

Graham
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Hello World Example Fails

2008-07-23 Thread Graham Cobb
On Wednesday 23 July 2008 18:53:36 Dr. Nicholas Shaw wrote:
> Ok, I DO have scratchbox up-and-running.  Following the installdoc to test
> the new target, everything works up to generating the configure scripts,
> configuring the program, and generating its Makefile.  It goes well until
> the step "checking whether the C compiler works..."  There I get an error,
> "error: cannot run C compiled programs."

You might want to ask on the maemo-developers list -- more developers there.

Is this an ARMEL target or an I386 target?  There are sometimes some 
scratchbox problems with getting the armel targets to actually run armel 
programs (which is what scratchbox is all about, of course).  Most often 
problems with not having scratchbox installed properly but, sometimes, bugs 
in scratchbox, libc, etc.

configure should have created a config.log which might contain an error 
message.  You can also try creating a trivial C program, compiling it and 
running it yourself to see if it works.  The program configure uses is 
(essentially):

int
main ()
{

  ;
  return 0;
}

Graham
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users