Advice needed on some package quirks...

Hi all, I'm fairly new to Arch (a week or two) and I'm working on creating my first real package.  I came from Slackware and I'm used to using a utility called superformat to format DOS floppies and stuff, I know I can use fdformat/mformat but I really like superformat.  So, I figured I'd make a package for it and of course I'd be more than willing to share it with anyone that was interested.  Generally the package building system seems pretty easy but fdutils (which contains superformat) has presented a few issues that I'd like advice on handling.
First, here is my PKGBUILD which for my system only I'm pretty happy with but others might not be as pleased with some of my choices.
pkgname=fdutils
pkgver=5.4
pkgrel=1
pkgdesc="A collection of floppy disk/drive utils."
url="http://www.tux.org/pub/knaff/fdutils/"
license=""
depends=()
makedepends=('tetex' 'texinfo')
conflicts=()
replaces=()
backup=()
install=
source=(http://www.tux.org/pub/knaff/fdutils/$pkgname-$pkgver.tar.gz)
md5sums=('17c1df04b1e524078ee52825a5ef5e56')
build() {
cd $startdir/src/$pkgname-$pkgver
# patch to change group ownership (gid) from floppy which doesn't
# exist by default in Arch to root which does
patch -Np1 -i ../../floppy-gid.patch || return 1
./configure --prefix=/usr
make || return 1
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/man/man1
mkdir -p $startdir/pkg/usr/man/man4
make prefix=$startdir/pkg/usr install
# /usr/bin/setfdprm is already there courtesy of util-linux
# /usr/bin/man4/fd.4(.gz) is already there courtesy of man-pages
rm -f $startdir/pkg/usr/bin/setfdprm
rm -f $startdir/pkg/usr/man/man4/fd.4
Now, first you'll notice that I had to make a patch because by default the fdutils package installs everything as root:floppy and Arch doesn't have a floppy group by default so I figured I'd just change it to root:root rather than telling people to create a floppy group before installing or whatever, I think the use of groups like that should be up to the user/admin anyway.  Here is the patch:
diff -Naur fdutils-5.4-orig/src/Makefile.in fdutils-5.4/src/Makefile.in
--- fdutils-5.4-orig/src/Makefile.in 2000-05-27 11:41:54.000000000 -0500
+++ fdutils-5.4/src/Makefile.in 2004-10-24 03:10:28.000000000 -0500
@@ -51,7 +51,7 @@
#we only people in group floppy to run priviledged programs
MANPERM = 644
UID = root
-GID = floppy
+GID = root
Next, I had to pre-create some directory structure - no biggie there and the package seemed to build fine but when I tried to pacman the thing I got the message that it wanted to overwrite /usr/bin/setfdprm and /usr/man/man4/fd.4.gz and the installation bombed.  Now, of course I could have forced it with pacman -f but again, if others wanted to use the package that's no good so I just rm'd the offending files and rebuilt the package.  This time it built and installed fine.  The manpage for fd is actually a few years newer in fdutils vs man-pages but I doubt that it matters much - I don't know about the setfdprm but if the one from base/util-linux does the job I'm inclined to leave it alone -  I don't use it.
Questions:
Is the patch an OK way to handle the root:floppy / root:root issue?
Is removing the files before packaging OK, I figured this was best because the conflicting files are actually part of 'base' so that should be off limits for extra packages such as this - que no?!
Thanks for more experienced insights or even inexperienced opinions.  Oh, I can post namcap output and/or a log of the build if it would help / be interesting.
Regards, G.S.

Question for phrakture: what do you mean by putting the patch in the source array?  Something like 'mv floppy-gid.patch $startdir/src'?
As for the group thing, I think it's probably best to leave it up to the individual whether they want a 'floppy' group or not, so since it's not explicitly defined that's what I'll go with for now.
For Dusty: thanks for the encouragement, I'm very impressed with almost everything about Arch so far, the package build system is no exception.
As far as using sed - I think I'll just leave it as a patch for now, I see your point but I kind of like the patch system.
I've been looking at a lot of PKGBUILDs lately and tried to use them as a model, I've also looked at all the docs I could find in the wiki, this forum and elsewhere.
Any opinions on overwriting the files?  I'm almost certain that my philosophy of not overwriting something contained in a 'base' package is right and like it says in the pacman manpage -f should seldom be used, preferably not at all or something like that.

Similar Messages

  • Need somne information about some packages.

    Hi I am trying to understand a script where some packages are used.
    dbms_sql.open_cursor
    dbms_sql.parse
    dbms_sql.define_column
    Can someone explain me what theses packages do?
    FOR cur_source_rec IN cur_source LOOP
    lv_version_cursor_num := DBMS_SQL.OPEN_CURSOR;
    lv_dml_statement_txt := 'SELECT ' || cur_source_rec.name ||
    '.what_version FROM DUAL';
    BMS_SQL.PARSE(lv_version_cursor_num, lv_dml_statement_txt,
    DBMS_SQL.NATIVE);
    DBMS_SQL.DEFINE_COLUMN(lv_version_cursor_num, 1,
    lv_package_version_txt, 100);
    Well I d like to know what theses special functions do.
    Where can I find a complete definition of these packages?

    The documenation is always a good place to start.
    Cheers, APC

  • Advice needed on replacing ibook G3 with MacBook

    We want to give our daughter a MacBook for graduation. She has used an iBook G3 700 MHZ 640 RAM for 4 years.
    Should we buy NOW or wait until August when she heads to college? What is coming down the pike that would be worth waiting for?
    Recommendations on which model, and how much RAM vs. MHz?
    many thanks-
    Jennifer

    Hi, Jennifer, and welcome to the Discussions.
    No one here will know what Apple might release between now and August and speculation is discouraged in the Discussions. So I'm afraid we can't provide much insight. Unless she needs a system now, though, there would be no harm, and possibly some benefit, to waiting. If nothing else, if you wait until she's officially registered at her college, you can purchase at Apple's higher education pricing. The college may even have a computer reseller on campus. This may save you some money, though of course you should shop around; sometimes, particularly with low-cost computers, a dealer will bundle items with the system (RAM, printers, etc.) which lowers the effective cost. Apple also often has "back to school" incentives toward the second half of the summer - free or rebated printers are common offers. So again, unless she really needs a new system now, I'd suggest you wait until late summer or fall.
    As to model, without knowing more about her needs - what she'll be studying, her interests, etc. - it's difficult to offer specific advice. But some general pointers:
    - if it's a tradeoff of a component you can replace/upgrade vs one you can't, opt for the component that can't be upgraded/replaced in your initial purchase. For example, it's easy and inexpensive to add RAM later. It's impossible to upgrade the CPU to one with a higher clock speed.
    - If budget allows, go for more RAM. I'd recommend at least 1GB. Going with Apple's RAM will cost more, but will reduce headaches should something go wrong (if it does and there is third-party RAM installed, Apple will usually ask that it be removed and the factory RAM replaced before proceeding).
    - absolutely get AppleCare; the cost of most laptop compents out of warranty is pretty steep.
    - get coverage to protect the laptop in case of accidental damage or theft (AppleCare does not cover either one). Such insurance usually isn't very expensive, particularly if you can get it as a rider to your homeowner's insurance.
    Hope this helps.

  • Some Error with Some packages on Unbreakable oracle Enteprice linux 5.2

    Dear all,
    when I Install Oracle EnterPrise Manager 10gR2 on Unbreakable oracle Enteprice linux 5.2 it requried fro me some packags which are nessaray for installer like the following packages
    Checking operating system package requirements ...
    Checking for compat-libstdc++-296-2.96-132.7.2; found Not found.     Failed <<<<
    Checking for libstdc++devel-3.4.3-22.1; found Not found.     Failed <<<<
    Checking for openmotif-21-2.1.30-11; found Not found.     Failed <<<<
    Checking for pdksh-5.2.14-30; found Not found.     Failed <<<<
    Checking for gnome-libs-1.4.1.2.90-44.1; found Not found.     Failed <<<<
    Checking for xscreensaver-4.18-5.rhel4.2; found Not found.     Failed <<<<but when I install thes packages ,the fllowing message is shown
    oracle@alwosaby ~]$ rpm- ivh pdksh-5.2.14-30.3.x86_64.rpm
    warning: pdksh-5.2.14-30.3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 0c98ff9d
    error: Failed dependencies:
    pdksh conflicts with ksh-20060214-1.7.x86_64
    *[root@test Desktop]# xscreensaver-4.18-5.rhel4.14.x86_64.rpm*
    bash: xscreensaver-4.18-5.rhel4.14.x86_64.rpm: command not found
    *[root@test Desktop]# rpm -ivh xscreensaver-4.18-5.rhel4.14.x86_64.rpm*
    warning: xscreensaver-4.18-5.rhel4.14.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1d1e034b
    error: Failed dependencies:
    xloadimage is needed by xscreensaver-4.18-5.rhel4.14.x86_64
    *[root@test Desktop]# rpm --import /usr/share/rhn/BETA-RPM-GPG-KEY*
    *[root@test Desktop]# rpm -ivh xscreensaver-4.18-5.rhel4.14.x86_64.rpm*
    warning: xscreensaver-4.18-5.rhel4.14.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1d1e034b
    error: Failed dependencies:
    xloadimage is needed b
    oracle@alwosaby ~]$ uname -a
    Linux alwosaby 2.6.18-92.el5 #1 SMP Fri May 23 23:40:43 EDT 2008 x86_64 x86_64 x86_6 4 GNU/Linux
    Please how i install these packages ?
    If any one have exprecie about this problem , Can Help me?
    Regards
    alwosaby
    Edited by: user2985354 on 28/01/2009 09:01 م

    You are mixing redhat provided packages with OEL. Generally, it's not a good idea to mix packages of different distributions.
    The media you've used to install OEL contains these packages. Use these.

  • Xvidcore, fbpanel - had a try on ABS: made some packages

    Since I'm getting really comfortable about this distro, I decided to try the ABS way of compiling. To my surprise this was  quite an easy thing to do. After a few tries I managed to create some packages, which I miss or aren't up-to-date in the arch linux database.
    I made packages for
    - xvid-1.0.1 (MPEG4 codec with better compression than divx)
    - fbpanel (windows-like lightweight panel)
    - libdts (decode dts-streams from dvd)
    - leafpad (gtk notepad clone, lean and mean)
    - guiTAR (gtk gui archive program)
    Only fbpanel was a bit tricky: had to edit the Makefiles myself, for neither prefix and DESTDIR worked. Anyway I thought that maybe someone finds those usefull. <edit> This is fixed now see further down the page</edit>
    The builds can be found here http://home.quicknet.nl/qn/prive/btwoudstra
    The PKGBUILDS are here:
    XVID
    # $Id: PKGBUILD,v 1.7 2004/04/17 11:36:47 tobias Exp $
    # Contributor: Sarah Hay <[email protected]>
    # Maintainer: roberto <[email protected]>
    # I just edited this PKGBUILD a little to get the latest xvid version, I hope Roberto doesn't mind.
    pkgname=xvidcore
    pkgver=1.0.1
    pkgrel=1
    pkgdesc="XviD is an open source MPEG-4 video codec"
    url="http://www.xvid.org/"
    depends=('glibc')
    source=(http://files.xvid.org/downloads/$pkgname-$pkgver.tar.bz2)
    md5sums=('ef8993d620e403e992cc660dbe6e3581')
    build() {
      mkdir -p $startdir/pkg/usr/lib $startdir/pkg/usr/include/
      cd $startdir/src/$pkgname-$pkgver/build/generic
      ./configure --prefix=/usr
      make || return 1
      make prefix=$startdir/pkg/usr install
    FBPANEL
    #Contributor:frodoontop <[email protected]>
    pkgname=fbpanel
    pkgver=3.8
    pkgrel=1
    pkgdesc="fbpanel is a lightweight X11 desktop panel"
    url="http://fbpanel.sourceforge.net/"
    license="GPL"
    depends=('gtk2' 'xfree86')
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    source=(http://heanet.dl.sourceforge.net/sourceforge/fbpanel/$pkgname-$pkgver.tgz)
    md5sums=(95e43a2c201feb5e272bbd9a4f78ad6e)
    build() {
      cd $startdir/src/$pkgname-$pkgver
      ./configure --prefix=/usr
      make || return 1
    #note: this will not work, have to edit all the Makefiles by hand.  (change all install prefix paths)
      make prefix=$startdir/pkg/ install
    LIBDTS
    #Contributor: frodoontop <[email protected]>
    pkgname=libdts
    pkgver=0.0.2
    pkgrel=1
    pkgdesc="libdts is a free library for decoding DTS Coherent Acoustics streams"
    url="http://www.videolan.org/dtsdec.html"
    license="GPL"
    depends=()
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    source=(http://download.videolan.org/pub/videolan/libdts/0.0.2/$pkgname-$pkgver.tar.gz)
    md5sums=(a1c0dac95d7031498c2d19d7a3107469)
    build() {
      cd $startdir/src/$pkgname-$pkgver
      ./configure --prefix=/usr
      make || return 1
      make prefix=$startdir/pkg/usr install
    LEAFPAD
    #Contributor: frodoontop <[email protected]>
    pkgname=leafpad
    pkgver=0.6.8
    pkgrel=1
    pkgdesc="Leafpad is a simple GTK+ based text editor"
    url="http://tarot.freeshell.org/leafpad/"
    license="GPL"
    depends=(gtk2)
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    source=(http://tarot.freeshell.org/leafpad/$pkgname-$pkgver.tar.gz)
    md5sums=(f3abf9ca505f16d1f1b7c2d6ff43f7e7)
    build() {
      cd $startdir/src/$pkgname-$pkgver
      ./configure --prefix=/usr
      make || return 1
      make DESTDIR=$startdir/pkg/usr install
    Tell me if anybody finds it usefull

    frodoontop wrote:
    There is a package called xvidcore, have you tried that?
    Yes, but it's still using a release candidate. While this one is stable version 1.0.1 already.
    Also, what changes did you need to do to the makefile? Could you either include them in the PKGBUILD or perhaps an install file?
    As I said in the original post. Change the lines from all three Makefiles at the sections install to the prefix you'd like to use. In my case this was something like /var/abs/local/fbpanel/pkg/usr .
    I'm quite new to all this, but I'll look into this install file thing.
    <edit>I have looked at the .install possibilities, but as far as I can see, there isn't a way to modify the source before compiling. Only after compiling. Correct me if I'm wrong.</edit>
    You could use some sed scripting, I had to do that for a program I was trying to get to compile, check out the PKGBUILD at: http://bbs.archlinux.org/viewtopic.php? … highlight=
    All I was doing is inserting a "0;" after a certain line in one of the source files.

  • Video intensive work on Mac Pro? Advice Needed

    Hi everyone,
    I've been originally saving up for a while now for an iMac 24" as it offers the best specification price wise. But now I leaning on the Mac Pro and therefore need some advice.
    I know that there are alot of posts on advice - need to buy mac etc. so therfore I would really appreciate if I am afforded some help.
    I am mostly going to do ALOT of video encoding (via handbrake) and I am looking for the best configuration available to achieve lowest waiting time.

    I think you should go back and look at the other threads with advice, your budget. There is "ideal" and "affordable."
    Will it pay for itself in 24 months so you can afford the next revision at that time?
    Start with an 8-Core 3GHz.
    Add a Port Multiplier controller and two drive cases, 5 drives each, nearly 400MB/sec RAID.
    Throw in 8GB RAM.
    Add in costs for software upgrades, two sets of backups, four internal 500GB drives.
    Seagate has 750GB, as does WD. Hitachi has their $450 1000GB monster.
    Give yourself time to build, test, and optimize your setup, and expect to change it over time as you learn more.
    Can't afford that? then trim the 8-core. But Apple has shown how efficient next generation applications already are for video when it comes to 3GHz 8-core Mac Pro.

  • Fresh Install after boot drive crashed... advice needed plaese

    So wake up today turn on my tower and all I get is a grey screen and a clicking boot drive. Sounds like the other three drives are mounting fine. Or my tower is need of some Snow.
    So I know enough to say bye bye boot drive.... my question is-
    I now have purchased Snow Leopard and will start fresh. Should I take out the remaining three drives while I handle a clean install. Any advice to make this process a bit more painless? I back up all drives expect my boot UGH... I am going to start using time machine.... learned a lesson.

    There's no way to know how long a delay will be while waiting for a 'time-out'. It depends on how well or how poorly the OS is able to communicate with the drive, and how bad the controller chips on the drive are. You can view the problem as a Quality of Service issue. Your Mac is trying to communicate with the drive, determine it's size/type/format/timing etc, while also verifying the quality of the data. CRC error checking takes place along with a host of quality control measures implemented with each new version of Mac OS. Leopard made some drives fail due to poorly designed firmwares on the controller chips. SL got even pickier.
    During this process, that's failing, the problem could be any part of the driver verification system.
    On the other hand, if the drive quits spinning or the controller chips don't answer back at all, the 'time-out' will probably end sooner.
    It's luck of the draw when you try to determine the exact cause of a drive failure - controller chips, drive motor, head crash platter damage, r/w head... I just call it 'bad' and throw the drives into a bin where they will get speared with a digging bar before going to recycle

  • I am thinking of buying a iPad but my main desktop machine uses Windows 7 and MS Office.  How easy or difficult is it to transfer data files between the iPad and Windows?  Are there obvious problems or the need for some form of conversion programs?

    I am thinking of buying a iPad but my main desktop machine uses Windows 7 and MS Office.  How easy or difficult is it to transfer data files between the iPad and Windows?  Are there obvious problems or the need for some form of conversion programs?
    Many thanks for any advice.
    David

    You don't need conversion programs, iTunes can copy most of your content over to the iPad via the file sharing section, and some apps also support Dropbox, email attachments, transfer via your wifi network. There are a number of apps that you can get that support Microsoft office file (microsoft don't make an app versions of their software) e.g. from Apple there are Pages (word support), Numbers (excel) and Keynote (powerpoint), and from third-parties there are apps such as Documents To Go and QuickOffice HD

  • [svn:fx-3.x] 7966: Clean up some packaging code

    Revision: 7966
    Author:   [email protected]
    Date:     2009-06-18 12:30:22 -0700 (Thu, 18 Jun 2009)
    Log Message:
    Clean up some packaging code
    bug: no
    qa: no
    Modified Paths:
        flex/sdk/branches/3.x/build.xml

    Back up all data to at least two different storage devices, if you haven't already done so. One backup is not enough to be safe. The backups can be made with Time Machine or with Disk Utility. Preferably both.
    Erase and install OS X. This operation will destroy all data on the startup volume, so you had be better be sure of the backups. If you upgraded from an older version of OS X, you'll need the Apple ID and password that you used, so make a note of those before you begin.
    When you restart, you'll be prompted to go through the initial setup process in Setup Assistant. That’s when you transfer the data from a backup.
    Select only users and Computer & Network Settings in the Setup Assistant dialog—not Applications or Other files and folders. Don't transfer the Guest account, if it was enabled.
    After that, check the App Store for software updates.
    If the problem is resolved after the clean installation, reinstall third-party software selectively. I can only suggest general guidelines. Self-contained applications that install into the Applications folder by drag-and-drop or download from the App Store are usually safe. Anything that comes packaged as an installer or that prompts for an administrator password is suspect, and you must test thoroughly after reinstalling each such item to make sure you haven't restored the problem.
    I strongly recommend that you never reinstall commercial "security" products or "utilities," nor any software that changes the user interface or the behavior of built-in applications such as Safari. If you do that, the problem is likely to recur.
    Any system modifications that you do choose to install must be kept up to date. None is required for normal operation.
    Before installing any software, ask yourself the question: "Am I sure I know how to uninstall this without having to wipe the volume again?" If the answer is "no," stop.
    Never install any third-party software unless you know how to uninstall it.

  • Some package installation error during zone installation steps.....

    hi,
    i am totally new to this technology.
    i had created 3 Zone's on X86 Sun Fire X4270 M2 Hardware (OS - Solaris 10 update 9)
    & during OS Installation i had selected Software installations using the Entire Distribution.
    every thing worked fine but during zone installation steps, got some package installation error (refer the below output)
    bash-3.00# zoneadm -z OFSMU-PWM-zone1 install
    Preparing to install zone <OFSMU-PWM-zone1>.
    Creating list of files to copy from the global zone.
    Copying <158400> files to the zone.
    Initializing zone product registry.
    Determining zone package initialization order.
    Preparing to initialize <1240> packages on the zone.
    Initialized <1240> packages on zone.
    Zone <OFSMU-PWM-zone1> is initialized.
    Installation of these packages generated errors: <SUNWpostgr-82-libs SUNWpostgr-82-devel SUNWpostgr-83-server-data-root SUNWpostgr-82-server SUNWpostgr-82-contrib SUNWpostgr-82-client SUNWpostgr-82-server-data-root>
    The file </zone/OFSMU-PWM-zone1/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
    i checked the log file "/zone/OFSMU-PWM-zone1/root/var/sadm/system/logs/install_log"
    its show below error's
    *** package <SUNWpostgr-82-libs> failed to install with fatal errors:
    *** package <SUNWpostgr-82-devel> failed to install with fatal errors:
    need your help my friends..
    thanks in advance....
    Edited by: Raja Kondar on Dec 9, 2010 11:59 AM

    hi DR,
    thnks for reply..
    but i can see that "postgres" already exist in the system as user &l group.
    postgres:x:90:90:PostgreSQL Reserved UID:/:/usr/bin/pfksh
    also the failed packages duirng zone creation steps are already installed in the global zone..
    is thr any other way to resolve this issue....
    Edited by: Raja Kondar on Dec 16, 2010 11:00 AM

  • Recompile Some Package and to generate spool

    Hi
    I must recompile some packages and to generate a spool erros or no , in the spool I need to show DATE and time when was recompiled
    How can I to do it ?

    HI,
    use this script to set sql_prompt you can give data also
    column db_name new_value db_name noprint
    select user ||' on ' || name "db_name" from v$database ;
    set sqlprompt "&db_name> "
    Usage
    Save this script to a file.
    Add this script to yourlogin.sql or glogin.sql file to set the SQL prompt when you start SQL*Plus.
    If you change databases in SQL*Plus with the "connect" command, you must re-run this script.
    and latter you can spool the package complie,
    other way after each package compile USE ALL_OBJECTS and LAST_DDL columns you can come to know data and time of your last compilation

  • During an update of the applications on the BlackBerry smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatis

    I have reset both my torch and playbook back to original only thing that I kept was my contact. And still problems I am a few min away from leave my loved blackberry and going android !! Or heaven help us Phone
    Issues 1) playbook wont connect to desktop manager anymore 
    2) Play book has 2 calendar icons with two different settings on them ??? I have one that is currently working with my yahoo email and calendar account. 
    3) my Phone when connected to desk top software shows the calendar as read only
    4) Unable to update my phone says During an update of the applications on the BlackBerry® smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatisfactory dependencies." 
    I just want my email and Calendars to work I am tried of spending nights trying to get these deices working !!! 
    someone please help me. !! 
    I know you are going to ask I have updated everything last time and it is all as update as it can get. 
    As for now as I wait I am going to wipe my phone again and just set everything up again !! If I have to even my contacts AHHHH Help I am starting to think crazy thoughts 

    Did you try to eboot the your PC or laptop where your device is connected ?
    I experienced this with my windows laptop, after a failed to do an update, I restart the laptop and my Torch, then retried, and it's worked

  • I don't need the full package. Is there an easy way to change from the full to photographer's package?

    I'm trying to save money and realize that I don't need the full package. I wanted to just change over to photographer's pack with just Lightroom and Photoshop but I seem to be missing the way to do that through my account. Is there an easier way?

    http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html

  • How to find (classes,interface,subpackage info) in some package

    Plz tell me if any one know how to find (classes,interface,subpackage) in some package
    e.g. in java.io
    "Above senerio in not concern with java doc
    but tell me if an other way i.e by help of programming
    i could find some package information"
    as we know we find out any "object" classType , methods and fields information with help of "java.lang.reflect" API's
    but how to find a package information as provided by jdk is in current use

    You can locate the .zip or .jar file where the stuff is, and say either
    unzip -l classes.zip
    or
    jar tvf classes.jar.
    So you see the list of the classes in the given package.
    Then you can say
    javap -classpath classes.zip MyPackage.MyClass
    to see the fields and methods of the given class.

  • In need of some help!! my iphone 4s is not letting me take pictures or videos or even use the flashlight, does anyone know what to do??

    In need of some help!! my iphone 4s is not letting me take pictures or videos or even use the flashlight, does anyone know what to do??

    Hello Albert3232,
    It sounds like you cannot use either camera, nor the LED as a camera. I want to recommend a couple of things here.
    First, close all the open and running apps on the phone:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the phone:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, I would next backup your device to iTunes, and restore it:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

Maybe you are looking for