Problem with gcj and gij

2006-01-03 Thread Alireza Ghasemi
Hello,
I tried to compile a simple Hello,world program with gcj. The code was :
public class Welcome {
 public static void main( String args[] )
 {
 System.out.println( "Welcome to Java Programming!" );
 }
 }
I created Welcome.class with "gcj -C Welcome.java" .then I tried to execute
it with "gij Welcome.class" but I got the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: Welcome.class
   <>

Can anyone help me run my program?
Thanks.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



How to use gpc ?

2005-11-24 Thread Alireza Ghasemi
hello all,
I tried to compile a typical program with gpc, but I got the following error
:
" gpc: Internal GPC problem: internal option `--amtmpfile' not given "
Any idea about making it work ?
thanks


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Paths in chere

2005-11-23 Thread Alireza Ghasemi
Hi all,
I used " chere -i " to add a bash command to my context menu.Now when I
Right-click on a folder an select "bash here" it opens bash in parent of
that folder , not the folder itself.How can I change it to show the real
folder.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



syntax highlighting in vim

2005-11-23 Thread Alireza Ghasemi
Hello,
I have installed almost whole cygwin from an ISO snapshot. When using vim in
it  I realized that it doesn't highlight .c or .cc files. " :syntax enable "
didn't work.Can anybody help me about it ? I have the same problem about ls
too.Do they ever support syntax highlighting ?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Gnome problem

2005-07-08 Thread Alireza Ghasemi
Hello
I tried to compile gnome-libs with cygwin and in configuration phase I got
the following error :
" checking for gmodule support... no
configure: error: Dynamic linking is not available on this platform. Some
apps,like panel, will not run properly. "
Is there any idea about solving it ? And at all,What should I do if I want
to have Gnome in my cygwin ? What packages should I download ?
Thanks.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Compiling xorg-x11-fonts

2005-07-06 Thread Alireza Ghasemi
Hello,
I have downloaded xorg-x11-fonts-6.8 but I don't know how to compile
it.There is no typical Makefile and no configure script.Please explain me
step by step how to compile it and get use of X11 in Cygwin.I need X!
Thanks


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



system header files

2005-06-16 Thread Alireza Ghasemi
Hello,
Some programs need headers file in " linux " include subdirectory(e.g.
).Is there any way to solve this problem and port these
programs?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Undefined references

2005-06-13 Thread Alireza Ghasemi
Hello,
When compiling libyahoo2 everything went OK.but when I tried to compile a
program with it,I got a very very big list of undefined references like this
:
"
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libyahoo2.a(libyahoo2.o)(.tex
t+0x
38): In function `yahoo_log_message':
/cygdrive/d/Downloads/New/Desktop/libyahoo2-0.7.5/src/libyahoo2.c:112:
undefined reference to `_g_vsnprintf'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libyahoo2.a(libyahoo2.o)(.tex
t+0x4e):/cygdrive/d/Downloads/New/Desktop/libyahoo2-0.7.5/src/libyahoo2.c:11
4: undefined reference to `_ext_yahoo_log'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libyahoo2.a(libyahoo2.o)(.tex
t+0x68): In function `yahoo_connect':
/cygdrive/d/Downloads/New/Desktop/libyahoo2-0.7.5/src/libyahoo2.c:119:
undefined reference to `_ext_yahoo_connect'
"
It says thesame things for functions like _g_malloc and _g_realloc too.Any
idea about solving this?
Thanks.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



My Spacebar is OK!

2005-06-10 Thread Alireza Ghasemi
Hello,
Thanks to all of you for your attention to my humble spacebar key.The fact
is that , I don't have much experience in writing formal English letters.So
please excuse me for mistakes which may happen.The culprit is me not my
keyboard!
But another question is that I tried to compile allegro but at last phase it
wanted a library called " -ldl " (libdl.a probably).Could anybody say what
is that and where can I obtain it?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Launching a cygwin binary from an application using CreateProcess Win32 API.

2005-06-09 Thread Alireza Ghasemi

Venaktesh Goapal wrote
> Hi,
>
> I tried what is mentioned in the subject above but
> have not been successful.
>
> CreateProcess(...) returns the error 1305.
>
> From Winerror.h
>
> #define ERROR_UNKNOWN_REVISION   1305L
>
> Has someone tried this, or know the reason for the
> error.
>
> Thanks,
> Venkatesh.
I think Christopher is right.Use ShellExecute() WinExec or (if you use C)
_spawn... and _execThey get less parameters and do the same work foe
simple processes.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re :Re: apache start problem

2005-06-07 Thread Alireza Ghasemi
Hello,
Thanks foryour reply
1.I have never tried to create any username in Cygwin (Because I don't know
how!).Also,I haven't given any username to apache.just I typed "apachectl
start".How can I create a username in cygwin?
2.I have a very weak dial-up internet connection and downloading files with
sizes more than 3..4 MB is difficult for me.so I prefer compiling source
packages in my SuSe8.0 Cd's rather than downloading binaries from internet.
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Mysterious problem

2005-06-06 Thread Alireza Ghasemi
Hello,
I have some eccentric problem with building source packages in cygwin.It
began from tar-1.13.18.it compiled correctly and exe was built.but when
operating,all produced .tar files were empty!!Whereas binary tar package in
cygwin mirror had no problem.
Another one was grep.I built v2.4.2 and installed it with no problem.but
when operating,some source packages were not configured and said "grep:lseek
not found".I changed grep into one in cygwin mirror and problem was solved.
Now I don't know what to say.Do you do magic things when porting packages?!
Thanks.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



apache start problem

2005-06-06 Thread Alireza Ghasemi
Hello,
I compiled and built apache 1.3.23 but when starting httpd it said "bad user
name nobody".
I have already had some other problem with usernames and groups(like in
mailman).How can this problem be solved?
Thanks


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: I'm having the same problem

2005-06-06 Thread Alireza Ghasemi

Jeremy wrote :

> I'm having the exact same problem.
> I have tried installing on two different machines and get the same error
> running setup.
> I get the error that cygint1-3.dll  cannot be found.
correct is cygintL-3.dll!
> Is there somewhere I can download that dll individually and insert it into
the Yes.
> path to keep setup happy?
You can Download the dll from
http://mirror.averse.net/cygwin/release/gettext/libintl3/libintl3-0.14.1-1.t
ar.bz2.
It's only 20 kilobytes big.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



ginstall problem with doxygen

2005-06-05 Thread Alireza Ghasemi
Hello,
When compiling doxygen-1.2.13 I got the following error:
"  Checking for GNU install tool... not found!
GNU version of install is required: this is part of the fileutils package:
see http://www.gnu.org/software/fileutils/fileutils.html";
Whereas I have both install.exe and ginstall.exe in my /usr/bin and I don't
have such this problem with other sources.How can I solve it?
(I can't download newer or binary packages from Internet,Please help me
compile this one)
Thanks.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



grep problem

2005-06-05 Thread Alireza Ghasemi
Hello,
While compiling rcsoccersim ,in configuration phase I got he following
error:
"configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
grep: lseek: Invalid argument"
and configure script didn't continue.Any idea about solving this problem?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Problem with Perl 5.6.1

2005-06-03 Thread Alireza Ghasemi
Hello,
Inorder to compile Perl 5.6.1 I configured it with '-de'(default) parameter
and It was configured with no error.But when I tried to 'make' it said :
"GNUmakefile:245: warning: overriding commands for target `perlmain.o'
GNUmakefile:187: warning: ignoring old commands for target `perlmain.o'
make: *** No rule to make target `', needed by `miniperlmain.o'.
Stop"
What's the problem?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Gpc&texinfo similiar problem

2005-06-01 Thread Alireza Ghasemi
Hello,
When compiling texinfo and gpc I got similar error.That was :
"gpc.texi: Bad address"(or "texinfo.txi:..").There were nothing else so I
could not understand the problem.What's it?How can it be solved?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Python problem

2005-06-01 Thread Alireza Ghasemi
Hello,
At the last phase of compiling python I got this error:
"k:\SuSE.src\Python-2.2\python.exe (1456): *** unable to remap
E:\Cygwin\bin\cygssl-0.9.7.dll to same address as parent(0xCE) !=
0xCF828 [main] python 2988 fork_parent: child 1456 died waiting for dll
loading
error: No such file or directory
make: *** [sharedmods] Error 1"
(python.exe exists in directory and runs correctly. just like
libpython2.2.dll)
It prevents Python from being installed in proper directories.What's the
problem?
How can I solve it?
Thanks


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



STDIN problem

2005-05-31 Thread Alireza Ghasemi
When configuring many programs I get messages like "can not open STDIN : no
such file or directory" and when building perl, it stopped the Configure.
What's wrong with STDIN and what should I do?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



How to have libpcap

2005-05-31 Thread Alireza Ghasemi
Hello,
Many programs need LibPcap to be built.But when compiling it,it says things
about "packet capture type" that I don't know how to port them to cygwin.
Is any way to solve this problem and compile libpcap or a ported version of
this?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Why "ISO C++ forbids..."

2005-05-27 Thread Alireza Ghasemi
Hello,
While compiling many g++ programs I got a ;ong list of errors with the same
messgae like
"ISO C++ forbids declaration of  '...' with no type"
whereas rhese files are compltely compiled with g++ on linux.
What's the problem?
Can I 'not' use ISO?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



tchar.h

2005-05-27 Thread Alireza Ghasemi
Hello,
While compiling Tcl/Tk it worked successfully with VC6 but with cygwin it
wanted me "tchar.h".I could not find it in /usr/include and I don't know
which package it is in.Please tell me what  package to download.
Thanks


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



How to create "." files

2005-05-25 Thread Alireza Ghasemi
Hello,
I tried to create some hidden-Linux like files such as ".bashrc" but Windows
did not allow me and said "You must type a file name".How can I solve this?
Thanks


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



struct tm problem

2005-05-25 Thread Alireza Ghasemi
Hello,
I have downloaded some c++ libraries and tried to download them.But All of
them give an error like :
"'struct tm' has no member called 'tm_gmtoff'"
(tm is defined as 'time_t t; time(&t);tm* ptm = localtime(&t);')
tm is defined in time.h..
What's the problem and what should I do?
Thanks
(sorry if this is posted twice,I had a problem in my MailBox and I couldn't
get this post and probable Replies)


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



arpa headers

2005-05-25 Thread Alireza Ghasemi
Hello,
When compiling some network programs I got errors like "arpa/nameser.h:No
such file..." or "rpc/... " and some other net headers like that .What
packages should I get in order that this files get compiled.
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



What are ioctl headers?

2005-05-25 Thread Alireza Ghasemi
Hello,
Whe compiling pcap I got following error in "./configure"
"checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info"
I got an error like this when compiling another net source.Any idea about
solving it?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



.a to .lib converting

2005-05-25 Thread Alireza Ghasemi
Hello,
I want to use some cygwin .a libraries with other environments(like VC++) as
static .lib files.is this possible?Can I convert .a files to windows static
libraries?
If possible,what program do I need?
Thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Where is bash configuration file?

2005-05-24 Thread Alireza Ghasemi
Hello,
I use bash 2.0.5b and I want to add some paths to $PATH.What file should I
change?
Thanks.
Alireza



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



struct tm problem

2005-05-23 Thread Alireza Ghasemi
Hello,
I have downloaded some c++ libraries and tried to download them.But All of
them give an error like :
"'struct tm' has no member called 'tm_gmtoff'"
(tm is defined as 'time_t t; time(&t);tm* ptm = localtime(&t);')
I guess that tm should be defined in ctime header.
What's the problem and what should I do?
Thanks



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Do network programs work well?

2005-05-21 Thread Alireza Ghasemi
Hello All,
I have compiled some network programs and libraries with cygwin.But it seems
that they don't work properly.for example Prozilla never begins downloading
and
always says it can't resolve host(while host is available for other
programs).
or libspopc test programs say "Operation not permitted".libyahoo2's exe test
file says stackdump.whois says "No whois server is known for this kind of
object.".Although some little and sample programs work well with
localhost.Are these abnormal?Is the culprit my firewall?(I use Sygate
Personal firewall).Do I need any package to download?
Thanks
Alireza


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/