How to install a package that does not use DESTDIR?

Hi All
I am trying to create a PKGBUILD for a package called cantera.  This package uses the standard "configure", "make", and "make install" process; however,  "--prefix" is supported but DESTDIR is not used.  Unfortunately, this package is very large (many files) and "make install" install with absolute path names.  Is there any strategies for handling this situation?  An example of another package that handles this would be great.
Thanks
Kevin

It doesn't work for me, I get the following error:
/bin/install -c ijs_server_epsonepl -c /var/abs/local/epsoneplijs/pkg/usr/bin/ijs_server_epsonepl
/bin/install: cannot create regular file `/var/abs/local/epsoneplijs/pkg/usr/bin/ijs_server_epsonepl': No such file or directory
make: *** [install] Error 1
==> ERROR: Build Failed.  Aborting...
So I have to create a folder called usr/bin in my pkg-folder, then it will work.
But this is stupid, can't makepkg create those folders by itself?
Hmm ok tried creating the folders and still the same error, here is my PKGBUILD:
pkgname=epsoneplijs
pkgver=0.4.0
pkgrel=1
pkgdesc="a Epson EPL printer driver for ghostscript"
url="http://sourceforge.net/projects/epsonepl/"
source=($pkgname-$pkgver.tgz)
md5sums=('8bc16b9df5b2a4168abc773745b9b2d7')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
Whats wrong, I don't get it... 

Similar Messages

  • How to remove an app that does not have an X

    how to remove an app that does not have an X
    i.e.  stocks

    @greg1424
    Who needs newsstand ? It depends if you enjoy reading the newspaper or magazines in your spare time.  Back in the day, you find that small child delivering your morning newspaper.  You open the door, you found out that the next door neighbor stole your daily newspaper, now you have to buy a new one at the neighborhood deli.  Now Newsstand, fix that by delivering the news you love to your iOS device.  Drink some coffee, while flipping pages on your phone or iPad.  Guess what?  You saving the earth, no one stealing your paper and is available anytime you want.   Plus their subscriptions are cheap, so view the link to read more about it.
    Use Newsstand on your iOS device - Apple Support
    Is pages and numbers free?  Is free, you activated or purchased on or after September 1, 2013. Read the link below for more details
    Free Apple apps for your iPhone, iPad, and iPod touch with iOS 8 - Apple Support
    Cheers,
    Wilkie

  • Create timer function that does not use start-sleep

    Hey all I would like to create a timer function that does not use the start-sleep command because this freezes my GUI. I've wrote the start of a function but it seems to move on before the specified time has finished.
    Here's what I have:
    $Global:timerCounter=0
    $Global:timer = new-object System.Windows.Threading.DispatcherTimer
    Function Timer{
    param(
    [parameter(Mandatory=$true)]
    [int]$time
    $timer.Interval = [TimeSpan]"0:0:$($time)"
    $timer.Add_Tick({
    $Global:timerCounter++
    if($Global:timerCounter -ge 1) {
    $Global:timer.Stop()
    $timer.Start()
    Then in my script i would like to call Timer -time #of seconds. It seems that when I call it the add_tick is registered and then started but it continues on with the rest of my script. Is there a better way of doing this without using start-sleep?
    Thanks!

    Okay the issue I'm having is that I have code after the $timer.start that I don't wan't to run till a powershell job is done. In all the examples I've seen it has to come to the end of the code then it starts the tick. So in your example it comes to the
    end of of your code and showsDialog() then starts ticking.
    So:
    add-type -AssemblyName system.windows.forms
    $form=New-Object System.Windows.Forms.Form
    $btn=New-Object System.Windows.Forms.Button
    $form.Controls.Add($btn)
    $btn.add_Click({$form.Close()})
    $btn.Dock='Fill'
    $btn.Font='Lucida Console, 20.25pt, style=Bold'
    $btn.Text=[DateTime]::Now
    $timer=New-Object System.Windows.Forms.Timer
    $timer.Interval=1000
    $timer.add_Tick({$btn.Text=[DateTime]::Now})
    $timer.Start()
    $form.ShowDialog()
    #I want to do other things here but only after the ps job has finished
    Thanks I really am trying to figure this out. 
    Here is the code I'm working with I guess I'm unclear on how to order the timer and the rest of my code:
    if($syncHash.mainCopy){
    $syncHash.mainJobDone = $false
    $syncHash.writeHost = $false
    while(-not $syncHash.mainJobDone){
    [System.Windows.Forms.Application]::DoEvents()
    if($syncHash.writeHost -eq $false){
    Write-OutputBox -Message "Copying"
    $syncHash.writeHost = $true
    $syncHash.inProgress = $syncHash.mainCopy | Where-Object {$_.State -match 'running'}
    $syncHash.currentCopyTime++
    }elseif($syncHash.currentCopyTime -ge ($syncHash.averageCopyTime * 2) -and $syncHash.collectionCopyTime.Count -ne 0){
    $syncHash.Unusable += $syncHash.currentMainCopyMachine
    $syncHash.computersNotForInstall += $syncHash.currentMainCopyMachine
    $syncHash.inProgress = $null
    $syncHash.mainCopyTimedOut = $True
    Write-OutputBox -Type WARNING: -Message "$($syncHash.currentMainCopyMachine) is taking too long. Removing Job.."
    Add-Content -Path $log_path -Value "$($syncHash.currentMainCopyMachine) taking to long to copy to"
    Stop-Job $syncHash.mainCopy
    }else{
    $syncHash.inProgress = $syncHash.mainCopy | Where-Object {$_.State -match 'running'}
    Write-OutputBox -Message "." -NoNewLine
    ############################# ############# So I need it to wait right here I have other code other than in this block ############# that needs to run $syncHash.currentCopyTime++
    if(-not $syncHash.inProgress){
    $syncHash.mainJobDone = $true

  • Login that does not use https

    I don't have access to https sites from my current work facility.
    Do you have a login method that does not use HTTPS?
    Is there any way that I can link my metalink account and my OTN account, and get to OTN through my metalink account?
    David

    Okay ... I fixed this, Oracle XE finally convinced them to let us have access to https at OTN.
    David

  • The timekeeping system we use does not like HTML 5 so what is the latest version of Firefox that does not use HTML 5?

    We have been told by our timekeeping system provider that the latest versions of FireFox, Chrome and IE are not compatible with their websites at this time. I was told that it was because of the use of HTML 5 by the more recent versions of these web browsers. I need to download the most recent version of FireFox that does not use HTML 5. Can anyone tell me which version this would be?

    It isn't "Timesheet Next Generation", is it? We had a thread on that here: [https://support.mozilla.org/questions/961306 Websites using php and mysql stopped sorting drop down lists properly starting last week. Did something change?]
    Unfortunately, HTML5 is a large specification with a lot of parts that has been implemented in pieces over the course of several years. It would be really helpful if your vendor could indicate what EXACTLY is not compatible and then it could be researched. Otherwise, you'd have to use trial and error. Either way, you would end up with an older browser that isn't safe to run on the internet. It could be time to consider other vendors...

  • How to map a url that does not match with the context root  ?

    does weblogic support url that does not match the context root ?
    ex. the context root is AAA. the welcome page can be
    retrieved using http://localhost:7001/AAA
    Can it be configured to use http://localhost:7001/BBB to bring up the index.html in context root AAA ? if so, how ?

    I agree with Imp68.
    It still amazes me that in 2014 so many web sites are still not standards-compliant and instead insist on sniffing for the user-agent.  And, in the majority of cases, I've found that the websites work fine with any modern browser.
    phardell,
    To be clear, Safari is not the problem, the website is!  The developer of this website is still living in the 1990s and needs to move forward with the times.  Imp68's suggestion will cause Safari to "pretend" to be whatever browser you wish.  Try choosing "Safari 7" if that worked for you in the past and the website will likely go back to working.  If that does not work then try choosing "Internet Explorer 10" from the menu and see if that works.
    No matter what the result, you should look at the bottom of the page for a link to report problems with the website.  Submit a comment that tells them that they need to "modernize your website to support all modern web browsers".
    Good luck.

  • How to redirect a page that does not exist

    Hello everyone. Thanks for the feedback so far.
    I am editing an old site and there are going to be some pages that do not exist anymore.
    Is there a way to have an automatic redirect so that if any user types in ANY page that does not exist sitewide, they can be directed to another main redirection page which displays a message and then to the main page again?
    The current site is littered with empty pages with a redirect link on each at the moment which does not look good and it's awful to maintain as these non-meaningful filenames the original developer has used are no help at all.
    Thank you in advance for all feedback
    Terry

    What is the web address of the old site?
    If it's on a Linux server then you can use .htaccess rewrites to automate much of the redirection heavy lifting
    http://kb.mediatemple.net/questions/85/Using+.htaccess+rewrite+rules#gs
    https://my.bluehost.com/cgi/help/htaccess_redirect

  • Keithley 6487 Driver That Does Not Use IVI

    Hi,
    Does anyone know if a driver set has been developed for the Keithley 6487 that does not require the Keithley IVI? To date I have been using .llb packages to control instruments and would prefere to use one in this case if possible.
    Many Thanks
    Ben

    Hi Ben,
    Thank you for contacting National Instruments. Please only post once as posting the same question many times divides the effort of the group and generally results in a longer resolution time.
    Duplicate post
    Thanks
    Andrew McLennan
    Applications Engineer
    National Instruments

  • Building an application that does not use any local program files or libraries

    I need to build an application that will not use any local libraries or LabView program files(even if LabView is installed on the PC). I also am curious if anyone knows if there is a way to debug such an application(in it's compiled state).
    Any help on these topics would be greatly appreciated.
    -Nate
    Solved!
    Go to Solution.

    Hello,
    I am unclear on what you are trying to accomplish here. As the previous poster mentioned, if you enable debugging when building your application, you can remotely connect and probe the block diagram of the running executable. Executables use the run-time engine but could also access drivers or other run-times if using a specialized toolkit/module. This all depends on your application.
    -Zach
    Certified LabVIEW Developer

  • How to find BEx queries that were not used along with no of times executed

    Hi SDN,
    I need build a query which shows the BEx reports that were not used and also the number times the query was executed.
    I built the query on "multiprovider 0TCT_MC01" in which I used the KF "0TCTQUCOUNT" then the query is not capturing this information, while executing from Portal. ( as stated in /thread/716593 [original link is broken]).
    If anybosy happen to know the solution please share.
    Also
    as stated in this link (BW 3.5 Statistics - User Hits)
    Is there any infoobject which has the exact functionality as of the "0TCTNAVCTR" of 0BWTC_C02 (we can not use 0BWTC_C02 as we are in BW 7 SP16).
    I think it is very well known issue but there is not any exact solution to it if anybody finds the solution please update this points will be assigned
    Thank you,
    Prasaad
    Edited by: Prasaadbw on Mar 18, 2010 2:01 PM

    Hi,
    Try from one of these tables RSZRANGE, RSZELTXREF,
    RSZELTTXT,RSRREPDIR,RSZSELECT,RSZCOMPDIR.
    There is a field 'Last Used'.
    You can get some info when Query was used last
    -Vikram

  • HT2518 how do you transfer video from a DVD based camcorder that does not use USB?

    How do you transfet older video on tape and DVD based camcoder that do not have usb?
    looking at buying a MacBook 15.4

    I have done this for someone else with Tape Deck coax out through USB if you have installed a TV USB application such as Hauppauge WinTV HVR; recording with TV App which is rather tedious.
    Check out these - you may find better ways to do it depending on camcorder.
    http://www.ehow.com/how_2005441_camcorder-pc-usb.html
    http://www.bing.com/videos/search?q=camcorder+media+to+pc&FORM=BVFD#

  • ECC 6.0 IDES install requires disk that does not exist?

    Hello all,
    When doing the installation, there is one portion that asks for:
    Java Component Netweaver 7.0 SR3
    I am doing an ECC 6.0 IDES install for Oracle/ Linux.
    In the listing, I only see:
    51033513 NW 7.0 SR3 SP14 Java Based SW Comp
    *but this does not work *
    What is the correct one to use?
    TIA

    Hi and thanks,
    In the past, I have installed an ECC 6.0 IDES (ABAP Stack only) on an Oracle/Linux system. This worked out fine.
    Now, I am using the ECC 6.0 IDES collection set again except I am trying to install all of the EP Content (XSS - ESS/MSS)  as well (requiring both ABAP + JAVA stacks).
    So, again, I am trying to do ECC 6.0 IDES and EP on the same box but in one installation run (one SID and not 2 different SIDs)
    Is this possible?
    Also, you mentioned:
    >
    vamshi polasa wrote:
    >
    You need to specify the BS java component and the Java components path. You can downlad the files from the markt place.
    For the Linux ECC 6.0 IDES, what would the names of these items??? From the entire list of CDs, which ones would I choose?
    TIA

  • How to Show All Packages, That are not required by any other package

    I need a way to see al the installed packages thar are not required by any other package
    Thanks in advance ...

    You probably want pacman -Qt or pacman -Qdt
    Check out man pacman.

  • How to make DV file that does not need audio rendering

    Hi,
    I use MPEG Streamclip to convert video-footage captured on DVD (Sony camcorder) to DV format for compatibility with FCE.
    I use export to DV, PAL 25, 16:9 setting etc. Video works perfectly in FCE (e.g. video plays in canvas) with right aspect ratio but the sound just give the beeps.
    The difference between the project settings and the video clip setting (inside FCE) is the following:
    Audio: 2 outputs (clip shows "1 stereo")
    Aud rate: 48.0 KHz (same for clip)
    Aud format: 32-bit Floating Point (same for clip).
    So the difference seems to be that the DV file contains one stereo stream whereas the project needs two separate streams. However, when I add the clip to the time-line it distributes the stereo-stream over the two channels but I need to render before I can hear the footage.
    Is there any way that I can create a more compatible DV using MPEG Streamclip or some other software? Or is there a way to handle this easy in the FCE project setup?
    Thanks
    Troels

    Hi Tom.
    That does the trick - audio is now playing unrendered also. When choosing DV-PAL anamorphic preset it seems to check to flag automatically inside FCE although now the "preview" of the video in Quicktime shows up in 4:3. I did set the options setting in MPEG Streamclip to 16:9 but it seems you cannot have it all.
    Thanks
    Troels

  • I can not use the Acrobat DC Cloud. How do I get an Acrobat PDF Reader that does not use the Cloud?

    The subject pretty much says it all.
    I can not save sensitive corporate files on your Cloud.
    Even for non-sensitive PDFs, I do not always have access to the cloud when I need to view or work with a PDF.
    I need a non-cloud version of Acrobat Reader.
    When Reader DC installed onto my system it must have blown away Reader XI.
    After I uninstalled Reader DC, now I can't open/read PDFs anymore.
    Also, I can't find a copy of Adobe Acrobat to install that isn't cloud dependent.
    This is a problem for me.
    Besides all that, NOW I get error messages every time I try to re-install Reader DC.
    See below.
    So, today at work, I can no longer open PDFs.
    Thanks? NOT!
    HELP!
    Gene

    Here, I finally have a solution.
    Gotta love Google.
    More helpful than Adobe so far.
    Note: Clicking on the link below will immediately open the download dialogue box.
    ftp://ftp.adobe.com/pub/adobe/reader/win/10.x/10.1.1/en_US/AdbeRdr1011_en_US.exe
    I used this download to install, and the Installer was flawless.
    Thanks everyone who contributed ideas and potential solutions.

Maybe you are looking for