Re: [Ilugc] Problem compiling shibboleth idp

2009-07-05 Thread Gaurav Paliwal
>
>
>


> > Your java interpreter is not able to find org.apache.tools.ant.Main
> class.
> > You have to add ant.jar to classpath when you run the java.
>
> > Can you provide the full command which throws this exception?


   I have used the folllowing command which is actually a script

[r...@localhost ~]# /shibboleth-identityprovider-2.1.2/install.sh.And
the content of the install.sh script is :
#! /bin/sh

# OS specific support.  $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
case "`uname`" in
  CYGWIN*) cygwin=true ;;
  Darwin*) darwin=true ;;
esac

#Find the necessary resources
ANT_HOME=.

if [ -z "$JAVACMD" ] ; then
  if [ -n "$JAVA_HOME"  ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
  # IBM's JDK on AIX uses strange locations for the executables
  JAVACMD=$JAVA_HOME/jre/sh/java
else
  JAVACMD=$JAVA_HOME/bin/java
fi
  else
JAVACMD=java
  fi
fi

if [ ! -x "$JAVACMD" ] ; then
  echo "Error: JAVA_HOME is not defined correctly."
  echo "  We cannot execute $JAVACMD"
  exit
fi

if [ -n "$CLASSPATH" ] ; then
  LOCALCLASSPATH=$CLASSPATH
fi

# add in the dependency .jar files
DIRLIBS=${ANT_HOME}/src/installer/lib/*.jar
for i in ${DIRLIBS}
do
# if the directory is empty, then it will return the input string
# this is stupid, so case for it
if [ "$i" != "${DIRLIBS}" ] ; then
  if [ -z "$LOCALCLASSPATH" ] ; then
LOCALCLASSPATH=$i
  else
LOCALCLASSPATH="$i":$LOCALCLASSPATH
  fi
fi
done

if [ -n "$JAVA_HOME" ] ; then
  if [ -f "$JAVA_HOME/lib/tools.jar" ] ; then
LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar
  fi

  if [ -f "$JAVA_HOME/lib/classes.zip" ] ; then
LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip
  fi

  # OSX hack to make Ant work with jikes
  if $darwin ; then

OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes"
if [ -d ${OSXHACK} ] ; then
  for i in ${OSXHACK}/*.jar
  do
JIKESPATH=$JIKESPATH:$i
  done
fi
  fi

else
  echo "Warning: JAVA_HOME environment variable is not set."
  echo "  If build fails because sun.* classes could not be found"
  echo "  you will need to set the JAVA_HOME environment variable"
  echo "  to the installation directory of java."
fi

# supply JIKESPATH to Ant as jikes.class.path
if [ -n "$JIKESPATH" ] ; then
  if [ -n "$ANT_OPTS" ] ; then
ANT_OPTS="$ANT_OPTS -Djikes.class.path=$JIKESPATH"
  else
ANT_OPTS=-Djikes.class.path=$JIKESPATH
  fi
fi

# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
  ANT_HOME=`cygpath --path --windows "$ANT_HOME"`
  JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
  LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
fi
$JAVACMD -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS
org.apache.tools.ant.Main -e -f src/installer/resources/build.xml "$@"


>
>
>
> How did you install java and ant?
>
>
>
i have installed ant using the command : yum install ant* ;
and java using jdk.bin file execution.

Also ant is working fine with other script ie I am able to successfully
compile other java project except this one using ant .
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] problem playing mp3 (or any sound file) in FC11

2009-07-05 Thread Kenneth Gonsalves
On Monday 06 July 2009 03:53:21 Kapil Hari Paranjape wrote:
> > On Sunday 05 July 2009 11:00:44 Ashok Gautham wrote:
> > > On Sat, Jul 4, 2009 at 4:54 PM, Kenneth
> > > Gonsalves
> >
> > wrote:
> > > > amarok looks at ogg and says 'unknown'
> > >
> > > Can you verify if your ogg files are ok?
>
> Did you do this?

yes. 
>
> > > For me ogg plays well on Amarok. It is the mp3s that dont work even
> > > with the codecs installed. Anyway. My mplayer plays them all.
> >
> > installed everything under the sun.
>
> This is usually not a good solution. The less "things" that are
> installed, the easier it is to figure out which thing is causing
> problems.

well, not exactly everything, but I followed this:
http://hacktux.com/fedora/mp3

-- 
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] problem playing mp3 (or any sound file) in FC11

2009-07-05 Thread Kenneth Gonsalves
On Monday 06 July 2009 03:53:21 Kapil Hari Paranjape wrote:
> > Still no sound. Am seriously thinking of shifting back to Mandriva
>
> If you are certain that Mandriva will solve this issue and not
> introduce new ones then by all means do so.

sound, wireless, bluetooth, projector all worked out of the box in Mandriva. 
Unfortunately libboost was b0rked. And since at that time libboost was more 
important than the others, I shifted to FC. Since I have finished my work with 
libboost, I am seriously thinking of going back. Frankly I am too old to get 
excited about debugging something as basic as sound.
-- 
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] problem playing mp3 (or any sound file) in FC11

2009-07-05 Thread Kapil Hari Paranjape
Hello,

On Sun, 05 Jul 2009, Kenneth Gonsalves wrote:
> On Sunday 05 July 2009 11:00:44 Ashok Gautham wrote:
> > On Sat, Jul 4, 2009 at 4:54 PM, Kenneth Gonsalves 
> wrote:
> > > amarok looks at ogg and says 'unknown'
> >
> > Can you verify if your ogg files are ok?

Did you do this?

> > For me ogg plays well on Amarok. It is the mp3s that dont work even with
> > the codecs installed. Anyway. My mplayer plays them all.
> 
> installed everything under the sun.

This is usually _not_ a good solution. The less "things" that are
installed, the easier it is to figure out which thing is causing
problems.

> Still no sound. Am seriously thinking of shifting back to Mandriva

If you are certain that Mandriva will solve this issue and not
introduce new ones then by all means do so.

Usually, switching distros does not solve problems since all of them
are start from the same code base.

It is better to isolate the problem you are facing and write a precise
bug report. Either:
 (a) In the process of writing the bug report you will solve your
 problem
or,
 (b) After you submit your bug report, someone will suggest a fix.

Regards,

Kapil.
--

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Problem compiling shibboleth idp

2009-07-05 Thread M.S.Sree Pratheep
>
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/Main
> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.Main
>at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>

Your java interpreter is not able to find org.apache.tools.ant.Main class.
You have to add ant.jar to classpath when you run the java.

Can you provide the full command which throws this exception?


> worked fine.but while trying to recompile it i got the error.Although i
> have
> also reinstalled jdk as well as ant but still the same error is keep on


How did you install java and ant?

-Sree Pratheep.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Gnome-Terminal starts slowly in Debian-lenny

2009-07-05 Thread Roshan George
On Sun, 2009-07-05 at 19:10 +0530, Raju wrote:
> Hi all,
>I recently installed Debian-lenny in my Dell inspiron 1525
> laptop.Everything is working fine except Gnome-terminal.when i
> click gnome-terminal it takes atleast 1 minute for terminal window
> to appear.Can anybody help me to solve this problem..

Is it just gnome-terminal? What about some other GNOME application? Does
gedit also take a long time to start? If so, it is worth seeing if
your /etc/hosts file contains a reference to your own hostname pointing
to a loopback IP. To find your hostname run:

hostname

Your hosts file should have an entry similar to the following:

127.0.0.1   localhost
127.0.1.1   hostname

Naturally, if you have also set a fully qualified host name, that would
look like:

127.0.0.1   localhost
127.0.1.1   hostname.hostdomain hostname

If you want to try debugging this yourself, you might want to try
running strace to see where exactly all the time is being spent.

strace gnome-terminal   

-- 
Regards,
Roshan George 

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] problem playing mp3 (or any sound file) in FC11

2009-07-05 Thread Kenneth Gonsalves
On Sunday 05 July 2009 11:00:44 Ashok Gautham wrote:
> On Sat, Jul 4, 2009 at 4:54 PM, Kenneth Gonsalves 
wrote:
> > amarok looks at ogg and says 'unknown'
>
> Can you verify if your ogg files are ok?
>
> file 
>
> A corrupted file is possible.
>
> For me ogg plays well on Amarok. It is the mp3s that dont work even with
> the codecs installed. Anyway. My mplayer plays them all.

installed everything under the sun. Still no sound. Am seriously thinking of 
shifting back to Mandriva
-- 
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Problem compiling shibboleth idp

2009-07-05 Thread Gaurav Paliwal
While installing the shib idp on my machine got the following error :

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

although with the same configuration i have compiled it yesterday and it
worked fine.but while trying to recompile it i got the error.Although i have
also reinstalled jdk as well as ant but still the same error is keep on
coming .I have googled a lot and almost tried every feasible solution but
got nothing.

please help.

Cheers,
Gaurav Paliwal
+91-9811634916
www.gaurav.tk
www.twitter.com/gauravpaliwal
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Gnome-Terminal starts slowly in Debian-lenny

2009-07-05 Thread Raju
Hi all,
   I recently installed Debian-lenny in my Dell inspiron 1525
laptop.Everything is working fine except Gnome-terminal.when i
click gnome-terminal it takes atleast 1 minute for terminal window
to appear.Can anybody help me to solve this problem..

Regards,
Raju






-
This email was sent using TCEMail Service.
Thiagarajar College of Engineering
Madurai - 625015 (India)

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] PyCon India 2009 - Call for Proposal/Participation

2009-07-05 Thread Parthan SR

Hi,

PyCon  India 2009, first Python 
Conference in India, is being organized by the Python user and developer 
community in India. The conference will consist of a number of full 
length presentations, lightning talks, sprints and BoFs 
.


Venue: Indian Institute of Science, Bangalore

Dates: 26th and 27th September 2009

How to register:

Register online at http://in.pycon.org/2009/register before 1st August 
and get an early-bird discount or register directly at the conference.


Call for Proposals:

PyCon  India is looking for proposals 
on all aspects of Python programming. We will accept a broad range of 
presentations, from reports on academic and commercial projects to 
tutorials and case studies. As long as the presentation is interesting 
and potentially useful to the Python community, it will be considered 
for inclusion in the conference.


All the talks will be within 45-60 minutes. There will also be a 
dedicated Lightning Talk session for talks no longer than five minutes.


More information about the conference can be found from the conference 
website http://in.pycon.org/2009/.


/*P.S.* The discussions for PyCon India happens at inpy...@python.org . 
Please join this list if you want to know more about how you can help us./


--
With Regards,
Parthan SR "technofreak"

GPG Key 2FF01026
Fingerprint 5707 ECBD 8D8D 8E6E 28F8  DFA5 938B D861 2FF0 1026
Weblog  http://blog.technofreak.in

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] ssh & firefox

2009-07-05 Thread Arun SAG
Hi,
>On Sun, Jul 5, 2009 at 1:04 PM, Kapil Hari Paranjape wrote:

> Hello,
>
> Note that SOCKS5 does not solve the DNS lookup. So this firefox
> profile will still use the local DNS server for looking up domain
> names. To solve this problem you will need to run a DNS cache and use
> that as your DNS server or run a web proxy at the other end of the
> tunnel and point your firefox to that.
>
> One minor correction, SOCKS5 and SOCKS4a actually resolves dnslookups ,
only SOCKS4 will not allow  DNS lookups.


-- 
A computer is like air conditioning: it becomes useless when you open
windows.
<-Fighting 4 Freedom->
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] ssh & firefox

2009-07-05 Thread Kapil Hari Paranjape
Hello,

On Sun, 05 Jul 2009, pavithran wrote:
> This is what I would like to do . I want to run firefox from a remote server .

This is not an accurate description of your problem! What you really
want is to access the internet via a remote computer (presumably
because your local internet access is filtered in some way).

> 1 . I need ssh -X access which rarely people give or firewalls allow :(

In any case, remote X uses up a lot of bandwidth as compared with
proxy web access.

> The other logical choice would be SSH tunneling where the browser
> stays in my own home machine while every data which firefox
> sends/recieves goes via the SSH tunnel which we create .

This is completely feasible.

 1. On the local machine you run
   ssh -f -q -N -D 1050 u...@remote
This starts a SOCKS5 server which tunnels requests through the
remote server.
 2. You then configure a local firefox profile to use a
"SOCKS5 proxy" at 127.0.0.1 with port 1050. This local firefox
will get all its requests through the tunnel.

Note that SOCKS5 does not solve the DNS lookup. So this firefox
profile will still use the local DNS server for looking up domain
names. To solve this problem you will need to run a DNS cache and use
that as your DNS server or run a web proxy at the other end of the
tunnel and point your firefox to that.

Regards,

Kapil.
--

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc