CMake behaves differently from within PKGBUILD and from command line

Hi,
I am currently struggling with an issue which I cannot find a solution. The problem is, I am trying to create a PKGBUILD for the CasADi code. The following is the PKGBUILD file written. My problem is the cmake configuration part. When the code is configured from the command line, without PKGBUILD, camke detects the -fopenmp flag for C and C++ compilers. For exactly the same compilers, cmake detects openmp for C compiler but fails to do so for the C++ compiler, when configuration is done from within the PKGBUILD file using makepkg.
My question is, why different behaviors? Any suggestions on what is wrong?
pkgname=casadi-git
pkgver=0
pkgrel=1
pkgdesc="A symbolic framework for automatic differentiation and numeric optimization"
arch=('i686' 'x86_64')
url=""
license=('GPL')
groups=()
depends=('sundials' 'ipopt' 'blas' 'lapack' 'python2')
makedepends=('cmake' 'swig')
checkdepends=()
optdepends=()
provides=('casadi')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=('casadi::git+https://github.com/casadi/casadi.git')
md5sums='SKIP'
build() {
cd "$srcdir/casadi"
sed -i 's/PythonLibs/PythonLibs 2.7/g' ./cmake_modules/FindNUMPY.cmake ./swig/CMakeLists.txt
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DWITH_DL:BOOL=ON \
-DWITH_LLVM:BOOL=OFF \
-DWITH_PYTHON_INTERRUPTS:BOOL=ON \
-DWITH_OPENMP:BOOL=ON \
-DWITH_OOQP:BOOL=ON \
-DWITH_DOC:BOOL=ON \
-DWITH_OPENCL:BOOL=OFF
make
package() {
cd "$srcdir/casadi"
make DESTDIR="$pkgdir/" install
Output when cmake is run from command line
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/colorgcc
-- Check for working C compiler: /usr/bin/colorgcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Flag needed for enabling C++11 features: -std=gnu++11
-- x86_64 architecture detected - setting flag -fPIC
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
-- A library with BLAS API found.
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- A library with LAPACK API found.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for one of the modules 'ipopt'
-- Detected an IPOPT configuration without development headers. Build will proceed, but without callback functionality. To enable it, see https://github.com/casadi/casadi/wiki/enableIpoptCallback
-- Detected an IPOPT configuration without sIPOPT headers. Build will proceed, but without sIPOPT functionality.
-- Found IPOPT: ipopt;lapack;blas;m;dl;coinmumps;pthread;blas;gfortran;m;gcc_s;quadmath;coinmetis
-- Could not find KNITRO include dir
-- Could not find KNITRO library
-- Could not find CPLEX include dir
-- Could not find CPLEX libraries
-- Could not find MA57
-- MA57 libraries not found. Falling back to MA27
-- Could not find MA27
-- Could not find OOQP include dir
-- Could not find SNOPT include dir
-- Found Snopt libs: /usr/lib64/libf2c.a;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
-- Could not find MATLAB include dir
-- Could not find Matlab libs
-- Could not find SNOPT include dir
-- Found Snopt libs: /usr/lib64/libf2c.a;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
-- Could not find MATLAB include dir
-- Could not find Matlab libs
-- Found SWIG: /usr/bin/swig (found version "2.0.10")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.7")
-- Python executable is /home/hamid/bin/python
-- numpy.get_include() is /usr/lib/python2.7/site-packages/numpy/core/include
-- Numpy path found: /usr/include/python2.7/numpy
-- Python libs: /usr/lib64/libpython2.7.so
-- Numpy includes: /usr/include/python2.7/numpy;/usr/include
-- Numpy libs: /usr/lib64/python2.7/site-packages/numpy/core/multiarray.so
-- Found PythonInterp: /home/hamid/bin/python (found version "2.7.5")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.4")
-- Found DOXYFILE_IN: /usr/src/AUR/build/casadi/src/casadi/documentation/api-doc/Doxyfile.in
-- pyreport not found -- try 'easy_install pyreport'
-- The following features have been enabled:
* dynamic-loading , Compile with support for dynamic loading of generated functions (needed for ExternalFunction)
* using-c++11 , Using C++11 features (improves efficiency and is required for some examples).
* sundials-interface , Interface to the ODE/DAE integrator suite SUNDIALS.
* csparse-interface , Interface to the sparse direct linear solver CSparse.
* lapack-interface , Interface to LAPACK.
* ipopt-interface , Interface to the NLP solver Ipopt.
* qpoases-interface , Interface to the active-set QP solver qpOASES.
* dsdp-interface , Interface to the interior point SDP solver DSDP (requires BLAS and LAPACK).
-- The following OPTIONAL packages have been found:
* OpenMP
* LibXml2
* BLAS
* Threads
* LAPACK
* PkgConfig
* IPOPT
* SWIG
* NUMPY
* PythonInterp
* Doxygen
-- The following features have been disabled:
* just-in-time , Just-in-time compiliation via the LLVM compiler framework.
* opencl-support , Enable just-in-time compiliation to CPUs and GPUs with OpenCL.
* get-ipopt , Download and build Ipopt.
* knitro-interface , Interface to the NLP solver KNITRO.
* cplex-interface , Interface to the QP solver CPLEX.
* ooqp-interface , Interface to the QP solver OOQP (requires BLAS).
* worhp-inteface , Interface to the NLP solver Worhp (requires LibXml2 headers).
-- The following OPTIONAL packages have not been found:
* KNITRO
* CPLEX
* MA57
* MA27
* OOQP
* MATLAB
* OCTAVE
* LATEX
* PYREPORT
-- Configuring done
-- Generating done
Output when running makepkg
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/colorgcc
-- Check for working C compiler: /usr/bin/colorgcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Flag needed for enabling C++11 features: -std=gnu++11
-- x86_64 architecture detected - setting flag -fPIC
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Could NOT find OpenMP (missing: OpenMP_CXX_FLAGS)
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
-- A library with BLAS API found.
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- A library with LAPACK API found.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for one of the modules 'ipopt'
-- Detected an IPOPT configuration without development headers. Build will proceed, but without callback functionality. To enable it, see https://github.com/casadi/casadi/wiki/enableIpoptCallback
-- Detected an IPOPT configuration without sIPOPT headers. Build will proceed, but without sIPOPT functionality.
-- Found IPOPT: ipopt;lapack;blas;m;dl;coinmumps;pthread;blas;gfortran;m;gcc_s;quadmath;coinmetis
-- Could not find KNITRO include dir
-- Could not find KNITRO library
-- Could not find CPLEX include dir
-- Could not find CPLEX libraries
-- Could not find MA57
-- MA57 libraries not found. Falling back to MA27
-- Could not find MA27
-- Could not find OOQP include dir
-- Could not find SNOPT include dir
-- Found Snopt libs: /usr/lib64/libf2c.a;-lpthread;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
-- Could not find MATLAB include dir
-- Could not find Matlab libs
-- Could not find SNOPT include dir
-- Found Snopt libs: /usr/lib64/libf2c.a;-lpthread;/usr/lib64/liblapack.so;/usr/lib64/libblas.so;dl
-- Could not find MATLAB include dir
-- Could not find Matlab libs
-- Found SWIG: /usr/bin/swig (found version "2.0.10")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.5", minimum required is "2.7")
-- Python executable is /usr/bin/python2
-- numpy.get_include() is /usr/lib/python2.7/site-packages/numpy/core/include
-- Numpy path found: /usr/include/python2.7/numpy
-- Python libs: /usr/lib64/libpython2.7.so
-- Numpy includes: /usr/include/python2.7/numpy;/usr/include
-- Numpy libs: /usr/lib64/python2.7/site-packages/numpy/core/multiarray.so
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.5")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.4")
-- Found DOXYFILE_IN: /usr/src/AUR/build/casadi/src/casadi/documentation/api-doc/Doxyfile.in
-- pyreport not found -- try 'easy_install pyreport'
-- The following features have been enabled:
* dynamic-loading , Compile with support for dynamic loading of generated functions (needed for ExternalFunction)
* using-c++11 , Using C++11 features (improves efficiency and is required for some examples).
* sundials-interface , Interface to the ODE/DAE integrator suite SUNDIALS.
* csparse-interface , Interface to the sparse direct linear solver CSparse.
* lapack-interface , Interface to LAPACK.
* ipopt-interface , Interface to the NLP solver Ipopt.
* qpoases-interface , Interface to the active-set QP solver qpOASES.
* dsdp-interface , Interface to the interior point SDP solver DSDP (requires BLAS and LAPACK).
-- The following OPTIONAL packages have been found:
* LibXml2
* BLAS
* Threads
* LAPACK
* PkgConfig
* IPOPT
* SWIG
* NUMPY
* PythonInterp
* Doxygen
-- The following features have been disabled:
* just-in-time , Just-in-time compiliation via the LLVM compiler framework.
* opencl-support , Enable just-in-time compiliation to CPUs and GPUs with OpenCL.
* get-ipopt , Download and build Ipopt.
* knitro-interface , Interface to the NLP solver KNITRO.
* cplex-interface , Interface to the QP solver CPLEX.
* ooqp-interface , Interface to the QP solver OOQP (requires BLAS).
* worhp-inteface , Interface to the NLP solver Worhp (requires LibXml2 headers).
-- The following OPTIONAL packages have not been found:
* OpenMP
* KNITRO
* CPLEX
* MA57
* MA27
* OOQP
* MATLAB
* OCTAVE
* LATEX
* PYREPORT
-- Configuring done
-- Generating done

With a little creativity, you can actually do all that from the command line with a single command. It'll look a little crazy, but it can be done.
Whether the script exists on the local machine or not has zero to do with platform indpendence. You assumedly have to get the application onto the local machine, so including the script is not really an issue at all. However, you're talking about system independence, yet still wishing to run command line arguments? The two are mutually exclusive.

Similar Messages

  • My 3GS will not charge. I have tried it from my computer and from a wall socket. I also have tried another computer and a different cable with no luck. My computer doesnt see the device either. I havent had any issues until now. Any ideas?

    My 3GS will not charge. I have tried it from my computer and from a wall socket. I also have tried another computer and a different cable with no luck. My computer doesnt see the device either. I havent had any issues until now. Any ideas?

    bring it to Apple for battery diagnostics.

  • Hi, just updated hubby's iPhone 4 and all of his music has disappeared from the iPhone and from the iTunes library! He does have music still stored on his iPod, but can't get it from the library on his iPod back to phone or itunes. technophobe help pls!

    and all of his music has disappeared from the iPhone and from the iTunes library! Luckily he does have music still stored on his iPod, but I can't get it from the library on his iPod back to the phone or to itunes.Please help, but technophobe so put it in simple english please!

    Sounds like the music you had on your phone was not the same music on his computer. The iPhone/iPod touch is not designed to be a storage device. When you sync with a computer that doesn't have your music, it deletes your music from your phone.
    Was this music you purchased from iTunes? if so, and you are in the US, tap on itunes app, tap updates, tap purchased and tap on the cloud icon to get each song back. If you're not int he us, get iOS5 update later this week and do the same.
    But you need to move your itunes library to his computer. Create a user account on his macbook pro for you. From your external drive backup, load your itunes library on it. Then sync as usual! (Don't tell me you don't have a backup for your computer!)

  • Linking to a specific panel from another page and from higher up on same page Spry-UI-1.7

    Hi all,
    I am using Spry-UI-1.7 for a 4 tab tabbed panel on the bottom of my home page.  I'd like to link to the second tab from another page and also from the top of the home page.
    I previously used method: http://foundationphp.com/tutorials/spry_url_utils.php and it worked great.
    Now, with the Spry-UI-1.7 Tabbed Panel "widget", that method isn't working.
    I've reviewed the code from the samples page: http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm
    but cannot figure out what I am doing wrong.  It shows the following code for linking from another page:
    <a href="#" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>
    I tried this 'as is' and it didn't work. 
    I tried it with index.html in place of the # and it didn't work.
    (e.g.   <a href="index.html" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>   )
    What am I missing here?
    (I have the tabbed panel on "index.html" and want to link from "maps.html" and from the top of "index.html"
    Thanks for any help for this spry newbie! (read: I need it spelled out like I was a 6 yr. old

    This works
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryTabbedPanels2.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryFadingPanelsPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryTabbedPanelsKeyNavigationPlugin.js" type="text/javascript"></script>
    <link href="Spry-UI-1.7/css/TabbedPanels2/SpryTabbedPanels2.css" rel="stylesheet" type="text/css">
    <script type="text/javascript"> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2138522" binding="#TabbedPanels2" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body>
    <div id="TabbedPanels2">
      <h2>Tab 1</h2>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sapien lacus, porttitor vitae pretium eget, sodales sed libero. Maecenas non urna lacus, ac sollicitudin justo. Ut erat mi, hendrerit ac accumsan ac, congue eu dui. Pellentesque consectetur condimentum elit, et eleifend urna porta id. Phasellus blandit ullamcorper dignissim. In rutrum, ante non congue fermentum, metus odio bibendum elit, ut congue sapien arcu ac justo. Vivamus sit amet erat nibh, quis dignissim libero. Pellentesque in sapien felis, et volutpat eros. Maecenas adipiscing, eros sit amet placerat cursus, arcu lacus consectetur lectus, non ultricies neque urna laoreet purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p>
      <h2>Tab 2</h2>
      <p>Nulla facilisi. Vestibulum ipsum elit, tincidunt sed tristique sit amet, faucibus in orci. Nunc sit amet elit lorem. Sed eget arcu ipsum, pharetra ullamcorper lectus. Sed ac diam ac tortor mattis mollis. Etiam mattis felis vel augue tempus in rhoncus ligula elementum. Vestibulum ut iaculis risus. Aliquam erat sem, feugiat vel laoreet in, lobortis non mauris. Vestibulum neque nibh, vehicula eleifend tincidunt sed, bibendum id dolor. Pellentesque quis libero nec orci porttitor faucibus vitae in velit. Pellentesque dignissim sem ut justo interdum id egestas tellus fringilla. Vestibulum tempor, turpis eget dignissim luctus, est erat ultricies turpis, non tempus massa elit in nulla. Sed eu arcu vel enim laoreet hendrerit at vel enim. Integer semper malesuada sem quis porttitor.</p>
      <h2>Tab 3</h2>
      <p>Suspendisse potenti. Proin ut erat sit amet turpis egestas tempor. Integer arcu dolor, aliquam ut egestas nec, pharetra ut mauris. Duis urna mi, aliquam id vulputate et, consequat in dolor. Duis congue sem feugiat nulla malesuada scelerisque. Aenean vitae augue nec diam euismod imperdiet. In accumsan consectetur ante a vestibulum. Phasellus eu nulla et lectus tincidunt porttitor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin mauris massa, venenatis ut fringilla interdum, imperdiet et neque. Sed ut risus metus.</p>
    </div>
    <script type="text/javascript">
    // BeginOAWidget_Instance_2138522: #TabbedPanels2
            var TabbedPanels2 = new Spry.Widget.TabbedPanels2("TabbedPanels2", {
                injectionType: "replace",
                widgetID: "TabbedPanels2",
                autoPlay: false,
                defaultTab: params.tab ? params.tab : 0,
                enableKeyboardNavigation: true,
                hideHeader: true,
                tabsPosition: "top",
                event:"click",
                stopOnUserAction: true,
                displayInterval: 5000,
                minDuration: 300,
                maxDuration: 500,
                stoppedMinDuration: 100,
                stoppedMaxDuration: 200,
                plugIns:[]
    // EndOAWidget_Instance_2138522
    </script>
    </body>
    </html>

  • 10.6.7, hardware failure but the hard drive is intact.  I can access the hard drive via Linux.  Need to get mail from Mail.app and from Entourage 2004.

    I need to know a couple of things, but y'all may not have all the answers I need.
    First, I need to know how to retrieve the mail files from Mail.app and from Entourage 2004.  I don't know if this is a valid asusmption, but in my experience with Windows, I know that Outlook keeps everything in a single monolithic .PST file.  Is this the case with either Mail.app or with Entourage?
    Second, I need to know how to access said mail files in a Linux mail app.  The mail from Mail.app is more important than that from Entourage, so it has to take priority.  Will I need some sort of converter program, or is there enough similarity between Mail.app and one of the Linux mail applications that I can simply import it?  (BTW, I'm running Ubuntu Linux 11.04 on my Linux netbook. I wish there was some way I could get Snow Leopard on here.)
    Any advice on any of this problem will be extremely helpful. Thanks.

    PastorLarry wrote:
     I'm running Ubuntu Linux 11.04 on my Linux netbook. I wish there was some way I could get Snow Leopard on here.
    Direct install MacBuntu (based upon Ubuntu 11.04)
    http://www.oslike.se/
    I have it running on one of my single core netbooks.
    WIth your other problem, just borrow a Mac temporariy, drag a enclosure to a Apple Store and use one of theirs, they don't mind as they have Deep Freeze installed on all their machines so changes don't stick upon rebooting.

  • Help!!! I can not make or receive calls! other functions itself. Internet, sms, whatsapp work. I restored as new iphone from the phone and from itunes and still not working.

    I can not make or receive calls! other functions itself. Internet, sms, whatsapp work. I restored as new iphone from the phone and from itunes and still not working.
    Sorry for my english i'm spanish

    I have not tried that...I will look up the process so that I can do it correctly (and still transfer all of my files, contacts, etc).  Any suggestions?  What is the advantage of restoring as a new device..is this more akin to a complete wipe of a hard drive?

  • Hello, All my sonds are deleted from my laptop and from Itunes. If i synch my iphone to my itunes all my music will go. How do i prevent losing all my music?

    Hello, All my sonds are deleted from my laptop and from Itunes. If i synch my iphone to my itunes all my music will go. How do i prevent losing all my music?

    There's some third party applications available for recovering content off an iPod, iPhone or iPad. The following article is pretty old (2008) so it would be best to reality-check the capabilities and availability of the various listed items prior to opting for a particular product:
    http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/P2

  • I have Mac OS10.4.11 with MS Office 2004 installed. Yesterday, when clicking on the Entourage icon, in the dock, to receive my Email, the icon disappeared and I lost my Email service from the HD and from Spotlight, as well. Word, Excel and PP are still OK

    I have Mac OS10.4.11 with MS Office 2004 for Mac, installed. Yesterday, when clicking on the Entourage icon, in the dock, to receive my Email, the icon disappeared and I lost my Email service from the HD and from Spotlight, as well. Word, Excel and PP are still OK. Could this be a virus?

    Just thinking, if things are really missing...
    "Try Disk Utility
    1. Insert the Mac OS X Tiger Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • Safari totaly dissappered from home screen and from settings page, safari totaly dissappered from home screen and from settings page

    Safari totally disappeared from home screen and from settings page

    If the above doesn't work try:
    Settings>>>General>>Reset>>Reset Home Screen Layout

  • Is there any way I can get my play lists back to my iPod itouch as the last time I snyc my itouch it deleted them from my itouch and from my pc

    is there any way I can get my play lists back to my iPod itouch as the last time I snyc my itouch it deleted them from my itouch and from my pc

    While I can't help you get back Playlists that have been deleted (by iTunes!), I can hopefully help you stop that happening again. The latest version of iTunes (on 4th July 2012) is 10.6.3.25 and this version fixes the bug that has been present (in iTunes) for the last few updates.
    So first of all, make sure you have iTunes 10.6.3.25 installed.
    For any Playlist you created, you will simply have to compile them again from memory, or by starting again.
    For the built-in Playlists that came with iTunes:
    Recently Added - see the contribution from Jolly Giant in this post https://discussions.apple.com/thread/3022568.
    For other Playlists, tell us which one(s) you're after and we should be able to post instructions here for you.

  • I try to print a thumbnail from within iPhoto and it keeps telling me I don't have any themes installed. When I look in iPhoto folder the themes folder is there. Themes are in app. Support also. I rebuilt iPhoto database and rebooted but no cure. DICKSTER

    Try to print from within iPhoto a thumbnail &amp; I get message that there are no themes installed. They are in iPhoto folder and a folder of themes is in the library/ application support. I rebuilt iPhoto data base using iPhoto rebuild. No change, also rebooted hd.
    Can someone straighten me out here?
    Thanks
    DICKSTER-----

    Restoring iPhoto 9 (11) Themes
    First look in your HD/Library/Application Support/iPhoto folder for a Themes folder. If there is one there move it to the Trash. Also look in your Home/Library/Application Support/iPhoto folder for a Themes folder.  If there is one move it to the Trash.  Reinstall iPhoto as described below:
    1 - delete the current application.
    2 -files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder,
    Click to view full size
    3 - mount the disk that iPhoto 11 came on, either an iLife 11 disc or the system disk that came with your computer and do a custom install selecting only iPhoto. 
    If iPhoto 11 came with the computer then double click on the "Install Bundled Software Only" file and do a custom install.
    Apply all of the latest iPhoto 9 (11) updates followed by a repair of disk permissions with Disk Utility. Also make sure you're running the latest Quicktime version.
    OT

  • Id like to be able to initialize my 7344 Motion Controller card from within Labview and not through motion and automation explorer

    Every time I boot my PC , I have to reinitialize my 7344 through Motion and Automation Explorer  in order for it to work. Does anyone have any suggestions as to how to initialize it from within labview itself?
    thanks

    Hi,
    I am sending you a Vi for initializing the controller.The only thing you have to do is that you need to use sequence structure. In the first sequence you need to use the VI which is attached i.e 0 (default). Then the next sequence will be the program itself.
    So that as soon as you run your vi the first thing done will be initialising controller using LabVIEW. Then your program will run.
    Here the led in the front panel will glow green only the first time you are initializing.The next time it will be dim but no doubt your initializing will be taking place.Hope this vi solves your problem.
    Thxs
    Manish Karnik
    Application Engineer
    Cruiser Controls
    Mumbai, India. 
    Attachments:
    Initializing controller.vi ‏42 KB

  • Trying to use grep from within java,using exec command!

    Hi all!
    I would like to run a grep function on some status file, and get a particular line from it, and then pipe this line to another file.
    Then perfom a grep on the new file to check how many of the lines above are present in that file, and then write this value to a new file.
    The final file with a numerical value in it, i will read from within java,as one reads normal files!
    I can run simple commands using exec, but am kinda stuck with regards to the above!
    Maybe i should just do all the above from a script file and then run the script file from exec. However, i dont want to do that, because it kinda makes the system dependent,..what if i move to a new machine, and forget to install the script, then my program wont work!
    Any advise?
    Thanks
    Regards

    With a little creativity, you can actually do all that from the command line with a single command. It'll look a little crazy, but it can be done.
    Whether the script exists on the local machine or not has zero to do with platform indpendence. You assumedly have to get the application onto the local machine, so including the script is not really an issue at all. However, you're talking about system independence, yet still wishing to run command line arguments? The two are mutually exclusive.

  • How to Print  a PDF file from within a ABAP ( from gui input)

    Hi champions,
    This is Client requirement:
    "We need to print a PDF file from within a ABAP"
    We first need to test whether it is even feasible, and then if it 
    is, then write a small test ABAP which can accept a PDF file
    name as input (from GUI) and then print it to a SAP print
    device (printer).”
    Please Can any body help me on this.......
    It's urgent
    Thanks
    Basu

    Check following blog for PDF output from SAP
    /people/thomas.jung3/blog/2005/04/28/setting-up-an-adobe-writer-for-abap-output
    anya

  • How access my files/ folder from Quick Office and from other applications

    Hi
    I was a HTC user, and recently i decided to purchase the iphone 3Gs from Rogers and I end up with a frustration and helpless. First thing that I notice that there is no built-in application for editing the Excel & Word documents. Then I purchased quick office and realize that there is no way to copy over the documents to iphone. Way the quick office wants to upload the file is not workable because it offer to upload one by one.
    Then I purchased another application WIFI FPT and i was very happy that now I can upload my folders very quickly and then I end up again with great frustration that quick office can’t see that folders that I upload with FTP.
    I am very disappointed and frustrated, if apple want to make it really workable for business then they have to create a users area/space where users can copy their stuff quickly and all application can navigate in that area. So in this way we can access all of our data from any application.
    I hope that some one will take it seriously and help me/us to work with this phone. I never spent a penny for HTC to work with my documents and after I purchased this dam thing I spend almost $40 for all different kind of application and I am still unable to use it for my daily work.

    Research before the purchase would have helped. This has never been a feature of iphone. You have always needed an App in order to accomplish this.
    You can leave feedback for Apple at:
    http://www.apple.com/feedback/iphone.html

Maybe you are looking for