Re: RPM noob (query, log, build)
On Sat, 06 Jun 2009 11:48:52 -0400, Todd Zullinger wrote: Thufir wrote: Thanks. However, I'm still not seeing the expected output, which is a list of files including the JAR: If you want a list of files in a package, you add the l option, e.g.: $ rpm -ql curl-java A good reading of the rpm manpage might be pretty helpful. right, pardon. [r...@arrakis i386]# [r...@arrakis i386]# rpm -ql curl-java-0.2.3.SVN-2.i386 /usr/lib/libcurljava.so /usr/lib/libcurljava.so.1 /usr/lib/libcurljava.so.1.0.0 /usr/share/doc/curl-java-0.2.3.SVN /usr/share/doc/curl-java-0.2.3.SVN/COPYING /usr/share/doc/curl-java-0.2.3.SVN/ChangeLog /usr/share/doc/curl-java-0.2.3.SVN/README /usr/share/java/curljava.jar [r...@arrakis i386]# [r...@arrakis i386]# -Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: RPM noob (query, log, build)
On Sat, 06 Jun 2009 11:19:16 +0200, Joachim Backes wrote: First, don't use -qa unless you need to. Using -qa is really only useful if you're matching a glob-style pattern against all package names. For instance, rpm -qa curl*. More precise:: rpm -qa curl\* or rpm -qa 'curl*' or rpm -qa curl* (without \ or ' or , * is interpreted by your shell) If you're not using a glob-style Thanks. However, I'm still not seeing the expected output, which is a list of files including the JAR: [r...@arrakis i386]# [r...@arrakis i386]# rpm -q curl-java curl-java-0.2.3.SVN-2.i386 [r...@arrakis i386]# [r...@arrakis i386]# rpm -qa curl-java* [r...@arrakis i386]# [r...@arrakis i386]# rpm -qa curl-java/* [r...@arrakis i386]# [r...@arrakis i386]# rpm -qa curl-java\* curl-java-0.2.3.SVN-2.i386 [r...@arrakis i386]# thanks, Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
RPM noob (query, log, build)
) at sun.tools.jar.Main.main(Main.java:1044) [r...@arrakis i386]# [r...@arrakis i386]# [r...@arrakis i386]# ll total 76 -rw-r--r-- 1 makerpm makerpm 12935 2009-06-01 00:58 curl- java-0.2.3-2.i386.rpm -rw-r--r-- 1 makerpm makerpm 13202 2009-06-05 15:23 curl- java-0.2.3.SVN-2.i386.rpm -rw-r--r-- 1 makerpm makerpm 20300 2009-06-01 00:58 curl-java- debuginfo-0.2.3-2.i386.rpm -rw-r--r-- 1 makerpm makerpm 20503 2009-06-05 15:23 curl-java- debuginfo-0.2.3.SVN-2.i386.rpm [r...@arrakis i386]# [r...@arrakis i386]# rpm -ivh curl-java-0.2.3.SVN-2.i386.rpm Preparing...### [100%] 1:curl-java ### [100%] [r...@arrakis i386]# [r...@arrakis i386]# jar -tf /usr/share/java/curljava.jar META-INF/ META-INF/MANIFEST.MF net/ net/haxx/ net/haxx/curl/ net/haxx/curl/CurlGlue.class net/haxx/curl/CurlIO.class net/haxx/curl/CurlRead.class net/haxx/curl/CurlWrite.class [r...@arrakis i386]# [r...@arrakis i386]# date Fri Jun 5 22:37:05 PDT 2009 [r...@arrakis i386]# [r...@arrakis i386]# pwd /home/makerpm/rpmbuild/RPMS/i386 [r...@arrakis i386]# [r...@arrakis i386]# whoami root [r...@arrakis i386]# thanks, Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: environment variables
On Mon, 01 Jun 2009 09:43:31 -0500, Mikkel L. Ellertson wrote: Thufir wrote: Just curious about the best way to manage env var's. I edited /etc/ profile which works fine, but what happens when a new version of java gets installed? A better way is to add files to /etc/profile.d - you can use the ones there as examples. The ones with ending in .csh are used if you are using a c type shell, (csh, tcsh, etc) and the ones ending in .sh are for sh type shells. (sh, bash, zsh, etc) I would assume that this is a common problem with a common solution represented in a repository. Is that incorrect? -Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: flashgot and download helper
On Wed, 03 Jun 2009 07:41:38 +0930, Tim wrote: On Sun, 2009-05-31 at 06:09 +, Thufir wrote: It happened again, and I tried to kill totem through top, but it kept saying no such process ID, so I fired up the Process Monitor GUI and was unable to kill it from there, too. It appeared to simply re-spawn with a different PID (?). So, I uninstalled it I can imagine that if you have a page trying to load media in the background (e.g. adverts that cycle through playing different media files), it's possible that it could keep on getting called up. Right, but that couldn't have been it for several reasons. Chiefly, it was totem-something which was hogging the CPU, and secondly I navigated to a simple home page without any of that and had no other open tabs or windows. However, I kinda need it, or mplayer, or something. I'll try mplayer to see if it has a similar interaction with wget, download helper and flashgot. I'd imagine a similar problem. You're fixing the side effect rather than the cause. I'm not so sure of that. After removing totem I installed mplayer, and its various add-ons/etc, and everything's fine. I can download a video with flashgot (cURL seems to work better than wget for some sites) and no real cpu problems with downloads now -- at least so far. I use Flashblock on my browser, so I don't have to put up with all the nonsense on some webpages. I notice that if I disable it, allowing all the content, again, some pages will peg my CPU as they load their crap. If I allow just one thing to load, something I want to look at, generally I'm fine. But, sometimes, even that one thing is enough to bog the system down. Yeah, that and ?noScript? seem very useful. The jerks who make those kinds of pages are careful to keep all that intensive processing client side, of course. However, in this case I wonder whether it's not some subtle bug which is only apparent when the right (or wrong) combination of apps and plug-ins are in use simultaneously. However, I have been seeing some annoying npviewer.bin behavior, but it's spontaneous when loading some pages, I think. -Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
environment variables
Just curious about the best way to manage env var's. I edited /etc/ profile which works fine, but what happens when a new version of java gets installed? [make...@arrakis ~]$ [make...@arrakis ~]$ [make...@arrakis ~]$ cat /etc/profile # /etc/profile # System wide environment and startup programs, for login setup # Functions and aliases go in /etc/bashrc JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/ pathmunge () { if ! echo $PATH | /bin/egrep -q (^|:)$1($|:) ; then if [ $2 = after ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi fi } # ksh workaround if [ -z $EUID -a -x /usr/bin/id ]; then EUID=`id -u` UID=`id -ru` fi # Path manipulation if [ $EUID = 0 ]; then pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin else pathmunge /usr/local/sbin after pathmunge /usr/sbin after pathmunge /sbin after fi # No core files by default ulimit -S -c 0 /dev/null 21 if [ -x /usr/bin/id ]; then USER=`id -un` LOGNAME=$USER MAIL=/var/spool/mail/$USER fi HOSTNAME=`/bin/hostname 2/dev/null` HISTSIZE=1000 export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE JAVA_HOME for i in /etc/profile.d/*.sh ; do if [ -r $i ]; then if [ $PS1 ]; then . $i else . $i /dev/null 21 fi fi done export PATH unset i unset pathmunge [make...@arrakis ~]$ [make...@arrakis ~]$ env ORBIT_SOCKETDIR=/tmp/orbit-thufir HOSTNAME=arrakis TERM=xterm SHELL=/bin/bash XDG_SESSION_COOKIE=32a9bfc77b4a195b688875bf4a1883ed-1243842275.899648-1364835814 HISTSIZE=1000 GTK_RC_FILES=/etc/gtk/gtkrc:/home/thufir/.gtkrc-1.2-gnome2 WINDOWID=16779001 QTDIR=/usr/lib/qt-3.3 QTINC=/usr/lib/qt-3.3/include USER=makerpm LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:do=00;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=00;32:*.tar=00;31:*.tgz=00;31:*.svgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.dz=00;31:*.gz=00;31:*.bz2=00;31:*.tbz2=00;31:*.bz=00;31:*.tz=00;31:*.deb=00;31:*.rpm=00;31:*.jar=00;31:*.rar=00;31:*.ace=00;31:*.zoo=00;31:*.cpio=00;31:*.7z=00;31:*.rz=00;31:*.jpg=00;35:*.jpeg=00;35:*.gif=00;35:*.bmp=00;35:*.pbm=00;35:*.pgm=00;35:*.ppm=00;35:*.tga=00;35:*.xbm=00;35:*.xpm=00;35:*.tif=00;35:*.tiff=00;35:*.png=00;35:*.mng=00;35:*.pcx=00;35:*.mov=00;35:*.mpg=00;35:*.mpeg=00;35:*.m2v=00;35:*.mkv=00;35:*.ogm=00;35:*.mp4=00;35:*.m4v=00;35:*.mp4v=00;35:*.vob=00;35:*.qt=00;35:*.nuv=00;35:*.wmv=00;35:*.asf=00;35:*.rm=00;35:*.rmvb=00;35:*.flc=00;35:*.avi=00;35:*.fli=00;35:*.gl=00;35:*.dl=00;35:*.xcf=00;35:*.xwd=00;35:*.yuv=00;35:*.svg=00;35:*.aac=00;36:*.au=00;36:*.flac=00;! 36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: SSH_AUTH_SOCK=/tmp/keyring-RPy3db/ssh GNOME_KEYRING_SOCKET=/tmp/keyring-RPy3db/socket USERNAME=thufir SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/17658,unix/unix:/tmp/.ICE- unix/17658 DESKTOP_SESSION=gnome PATH=/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/ bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/thufir/bin MAIL=/var/spool/mail/thufir PWD=/home/makerpm xmodifie...@im=imsettings JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/ KDE_IS_PRELINKED=1 GNOME_KEYRING_PID=17655 LANG=en_US.UTF-8 GDM_LANG=en_US.UTF-8 KDEDIRS=/usr GDMSESSION=gnome SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass HOME=/home/makerpm SHLVL=3 GNOME_DESKTOP_SESSION_ID=this-is-deprecated LOGNAME=makerpm CVS_RSH=ssh QTLIB=/usr/lib/qt-3.3/lib DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus- swOenhod2G,guid=437d13456e1c52677517147e4a2386e4 LESSOPEN=|/usr/bin/lesspipe.sh %s DISPLAY=:0.0 QT_PLUGIN_PATH=/home/thufir/.kde/lib/kde4/plugins/:/usr/lib/kde4/ plugins/:/home/makerpm/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/ G_BROKEN_FILENAMES=1 XAUTHORITY=/home/makerpm/.xauthqUCqV7 COLORTERM=gnome-terminal _=/usr/bin/env OLDPWD=/home/thufir [make...@arrakis ~]$ [make...@arrakis ~]$ -Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: make libcurl
Ok, that seemed to have worked: [r...@arrakis i386]# [r...@arrakis i386]# rpm -ihv curl-java-0.2.3-2.i386.rpm Preparing...### [100%] 1:curl-java ### [100%] [r...@arrakis i386]# [r...@arrakis i386]# pwd /home/makerpm/rpmbuild/RPMS/i386 [r...@arrakis i386]# [r...@arrakis i386]# whoami root [r...@arrakis i386]# Now, uh, to use it. I almost forget what I was trying to do in the first place! thanks, Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: flashgot and download helper
On Sat, 30 May 2009 18:16:40 +0930, Tim wrote: On Thu, 2009-05-28 at 03:44 +, Thufir wrote: I'm hesitant to kill totem. Is it involved in the download somehow? Totem is a the video player (movie player in the Gnome menu). If you're not watching video, then you can kill it. Your message sounds like a download started in the background (e.g. a page with embedded media), and kept on going, even though *you're* not looking at it. It happened again, and I tried to kill totem through top, but it kept saying no such process ID, so I fired up the Process Monitor GUI and was unable to kill it from there, too. It appeared to simply re-spawn with a different PID (?). So, I uninstalled it: === Package Arch Version Repository Size === Removing: totem i386 2.24.3-3.fc10 installed 5.7 M Removing for dependencies: totem-gstreamer i386 2.24.3-3.fc10 installed 133 k totem-mozplugin i386 2.24.3-3.fc10 installed 487 k totem-nautilus i386 2.24.3-3.fc10 installed 48 k totem-xine i386 2.24.3-3.fc10 installed 87 k Transaction Summary === Install 0 Package(s) Update 0 Package(s) Remove 5 Package(s) However, I kinda need it, or mplayer, or something. I'll try mplayer to see if it has a similar interaction with wget, download helper and flashgot. -Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: make libcurl
-java-0.2.3]# make /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0//bin/javac MakeCurlGlue.java make: *** No rule to make target `NONE/include/curl/curl.h', needed by `CurlGlue.java'. Stop. [r...@arrakis curl-java-0.2.3]# [r...@arrakis curl-java-0.2.3]# echo $PATH /usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/ usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin [r...@arrakis curl-java-0.2.3]# -Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: make libcurl
On Fri, 29 May 2009 21:45:01 +0300, Jussi Lehtola wrote: do you have libcurl-devel installed? Thanks, progress! Now I'm getting: ... checking for CURL... yes checking for JDK location (please wait)... configure: error: JDK home not found, please specify one with --with-jdk-home option (run ./configure -- help for more options) [r...@arrakis curl-java-0.2.3]# You probably just need a java compiler (javac), so # yum -y install java-1.6.0-openjdk-devel It's already installed: [r...@arrakis ~]# [r...@arrakis ~]# rpm -q java-1.6.0-openjdk-devel java-1.6.0-openjdk-devel-1.6.0.0-15.b14.fc10.i386 [r...@arrakis ~]# -Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: make libcurl
On Thu, 28 May 2009 05:16:15 -0400, Andrew Parker wrote: On Thu, May 28, 2009 at 4:53 AM, Thufir hawat.thu...@gmail.com wrote: checking for fprintf... yes checking for fwrite... yes checking for CURL... configure: error: Package requirements (libcurl) were not met: No package 'libcurl' found do you have libcurl-devel installed? Thanks, progress! Now I'm getting: ... checking for CURL... yes checking for JDK location (please wait)... configure: error: JDK home not found, please specify one with --with-jdk-home option (run ./configure -- help for more options) [r...@arrakis curl-java-0.2.3]# [r...@arrakis curl-java-0.2.3]# /usr/sbin/alternatives --config java There is 1 program that provides 'java'. SelectionCommand --- *+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java Enter to keep the current selection[+], or type selection number: 1 [r...@arrakis curl-java-0.2.3]# [r...@arrakis curl-java-0.2.3]# echo $JAVA_HOME [r...@arrakis curl-java-0.2.3]# However Netbeans is running fine. Because I've run into NB weirdness in the past I installed the IDE from the binary on the NB site, and prefer to keep NB that way. I'm googling how to set JDK home. thanks, Thufir -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines