Linking Somewhere to get a Package Compiled

Hey There,
I'm trying to create a package for util-vserver.. I'm compiling it with dietlibc support but it's installed in /opt/diet.. Since util-vserver's configure searches diet in /usr/lib/dietlibc/ I should create that as a soft link in order to get util-vserver compiled..
Is it possible to warn (and abort installation) the user about creating a symlink if the link doesn't exist ?

I bet there's a switch (to configure) where you can specify where the diet libraries and compiler are. Creating symlinks in the real filesystem in a PKGBUILD is a *bad* idea.
EDIT: if you 'return 1' in a PKGBUILD, makepkg fails.
EDIT2: Another solution is to run a little sed script on Makefile to change the directories before running make.
Last edited by bender02 (2008-06-08 17:33:11)

Similar Messages

  • Package compiling error

    Hello,
    So I"m continuing to study java and I've been trying to create my first package but I keep getting problems whenever compiling via my java editor (JGrasp) and when trying to compile via the command prompt. I was hoping somebody could help me understand what I'm doing wrong with the code or compilation process. Thanks in advance for any help anybody could provide. (oh as one other sidenote these problems started happening after i'd done this at the command prompt to try to compile as well javac -d C:\ Entertainment.java)
    Josh
    JGrasp compiler problems
    ----jGRASP exec: javac -g C:\Entertainment.java
    ----at: Jun 23, 2006 7:35:32 AM
    ----jGRASP wedge: pid for wedge is 2788.
    ----JGRASP wedge2: pid for wedge2 is 3476.
    ----JGRASP wedge2: CLASSPATH is ".;;.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;C:\Program Files\jGRASP\extensions\classes".
    ----jGRASP wedge2: working directory is [C:\] platform id is 2.
    ----jGRASP wedge2: actual command sent ["C:\javac.exe" -g C:\Entertainment.java].
    ----JGRASP wedge2: pid for process is 3496.
    Can't determine application home
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    Actual program
    import javax.swing.*;
    package com.eventhandlers.entertainment2;
    public abstract class Entertainment
    protected String entertainer=("");
    protected int fee=0;
    public Entertainment()
    setEntertainerName();
    setEntertainmentFee();
    public String getEntertainerName()
    return entertainer;
    public double getEntertainerFee()
    return fee;
    public void setEntertainerName()
    entertainer=JOptionPane.showInputDialog(null,
    "Enter Name of entertainer ");
    public abstract void setEntertainmentFee();
    }

    Actual program
    import javax.swing.*;
    package com.eventhandlers.entertainment2;I don't know if it will solve your problem, but these two lines should be
    the other way around, like this:package com.eventhandlers.entertainment2;
    import javax.swing.*;IOW, the package statement (if present) should be the first statement
    in your compilation unit (.java file).
    kind regards,
    Jos

  • I am trying to re-install Photoshop CS6. The files have downloaded but I get and error message that the Adobe Support Advisor is required to determine what the installation probIem is. I click on the link that says "get the Support Advisor here only to be

    I am trying to re-install Photoshop CS6. The files have downloaded but I get and error message that the Adobe Support Advisor is required to determine what the installation probIem is. I click on the link that says "get the Support Advisor here only to be told the Support Advisor no longer exists!! A blind loop. I need to have Photoshop CS6 installed...what do I do from here??

    The CC Cleaner Tool assumes the Akamai Download Manager is activated and it has not. It seems to be the missing file that triggers the error message. \in a previous re-install I was prompted to download & install the Akamai Download Manger, but not this time. Is there somewhere on the Adobe website that I can download it??

  • Links breaking once PDF documents packaged

    Good afternoon, I'm starting off with a word document that I create hyperlinks to files and folders on a shared drive.  I save the file as a PDF and all of the links work fine.  But once I package the individual PDF documents into one package all of the external hyperlinks break.  Internal links to bookmarks within the document itself work but anything pointing outside of the document or to other documents within the package break.
    I am able to use the "tools, advanced edit" to edit the hyperlink to correct the link that points to an individual document or file, but it won't allow me to point to a folder on a shared drive.  I have to select a file within the folder.
    Is it possible to package the PDF's without the links breaking to begin with?  If not how can I fix the links to point to a folder?
    Any help is greatly appreciated.
    thanks,
    Mark

    In Windows, a PDF link annotation's action does not support folders/directories as link targets.
    You mention making a "package" - is this an Acrobat 8 "Package"?
    If so, you would be creating an entirely new PDF that contains the selected files as attachments within the new PDF.
    Having changed the "environment" any external links that any of the attached files (within the "Package" PDF) have still have the explicit link syntax to a target external to the contents of the "Package" PDF.
    Or, restated - Any existing links within one attached PDF to another PDF attached within the "Package" do not have a link syntax pointing to the second PDF within the "Package".
    To have a link between files in a "Package" you'd have to make them manually with the Link tool.
    As to "Bookmarks" in MS Word - If within a Word file they will carry over into the output PDF.
    If from one MS Word file to another they do not. All you can get is a link to the target Word file.
    Note that if the link you make to the target MS Word file is explicitly to a *.doc or *.docx file that is what the target will be for the link in an output PDF.
    The Word to PDF process cannot/does not change the file extension form *.doc/*.docx to *.pdf.
    Be well...

  • My daughter is a college student. she needs to write and compile c programs on her mac for a class this semester. what is the best place for her to start to get the correct compiler etc. to use ? thanks

    my daughter is a college student. she needs to write and compile c programs on her mac for a class this semester. what is the best place for her to start to get the correct compiler etc. to use ? thanks

    If you know that you will not be asked to design GUI interfaces, and the C programming course will adhere to command line compilation environments, then get the Xcode command-line developer tools, and skip the extra complication of Xcode until you absolutely need it. Apple has kicked GNU C to the curb and is rightly so, using Clang/LLVM compiler technology.
    Sign up for a free Apple Developer account using your Apple ID, and then visit the Mac Dev Center, and towards the bottom of the page, you will see additional downloads. Click on the associated, all down loads link. Know your OS X version beforehand, as the command-line tool releases are tied to general operating system versions, and the most recent Xcode version.  That said, there are currently two March 9, 2015 command-line tools for Xcode 6.2 — one for OS X 10.9 Mavericks, and the other for OS X Yosemite.

  • How can I get to the compiler arguments in Flash Builder 4.6?

    Howdy!
    So far I've been unable to locate any information that could help me with my task. The ultimate goal is to build my project's SWF with mxmlc. I was not able to figure it out and thought I'd install Flash Builder in the hopes of being able to get to the compiler arguments. No luck.
    First, I'm not the lead on the building of the SWF. This is done by another person via the Eclipse plugin; her hard drive crashed last night too. In fact I'm not a Flash developer. I'm coming at this from a Build Infrastructure perspective.
    Any help would be greatly appreciated.
    Cheers,
    Mel Riffe

    Mel Riffe,
    Here's a Help topic about compiler options in Flash Builder: http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb524b8220812e5611f28f-7fe7. html
    For information on using mxmlc, the application compiler, to compile SWF files from your ActionScript and MXML source files, you can see: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fcc.html
    Hope this helps,
    Mallika Yelandur
    Flash Builder Community Help & Learning
    Adobe Systems Incorporated

  • It seems my asset links (mostly images) get placed in the WRONG location after exporting

    Hi There,
    I've been using the test version of Muse for the part 10 days and have really been enjoying it!  I'm about to launch my first site with it.
    But!  In my design mode, all the correct images are on the right page, and then often when I go to the "preview mode" or the "preview page in browser" or publish the website as a test, then it seems like the wrong photos (from other pages on my website) will then be displayed in another photo's spot.
    As if, some bug caused the assets link's to get mixed-up when I export the website to view it live.
    Here is my example.  (NOTE - for both these pages, scroll to the SIDE, not down).
    Here is one page on the website, notice this is the page for the WIRED store, all the images in here should be there
    http://imdefinitelyinnewyorkcityrightnow.businesscatalyst.com/wired-store.html
    Now look at this different page for a different entry, but, some of the images from the WIRED store page (above) are now placed into this entry?????
    http://imdefinitelyinnewyorkcityrightnow.businesscatalyst.com/muddguts.html
    Note, there should be OTHER images in the place where the image that says "WIRED" in blue is, same goes for the bottom half of that first image, in design mode, there is another image there.
    As mentioned, in my "design" mode the photos are all in the correct places, it's only when I get to the preview/export modes where it seems the links to the assets gets mixed up.
    Anybody have any idea about this bug or what I can do to change it? 
    Thanks in Advance,
    _Winston Struye
    www.winstonstruye.com

    I am having the same issue.  I have three layered elements as three columns in the body of the page.  When I add the farthest right element it pushes the other left elements to the bottom of the page.  There are aren't any other elements on the page.
    Is this a CSS issue?  I thought about exporting to Dreamweaver and fixing it there but would like to take the easy route first.

  • Difficult to get good package names with ojspc in automated build

    If I understand the documentation for "ojspc" correctly, there is an aspect of its functionality that makes it difficult to have a convenient automated build which can also get good package names for the generated Java source files.
    If you don't specify the "-packageName" option, ojspc will build a package name relative to the current directory, including sub-directories. However, specifying "-packageName" will ONLY use that package, and will not create sub-packages associated with sub-directories.
    If you don't use the "-packageName" option, then you have to run the build from the root directory of your JSP files. When you're running an automated build with ANT, it's not convenient to do this.
    The likely result of this is that I would have to make sure that all of my JSP files are named differently, even if they're in different directories, and use the "-packageName" option to specify a particular package name for all of the generated source files.

    After more careful reading, I realized that using the "-appRoot" option (without using "-packageName") makes it possible for an ANT build to generate good package names (with directories).
    The following note, however, in the ojspc documentation is kind of odd:
    "It is advisable that you run ojspc once for each directory of your JSP application, so files in different directories can be given different package names, as appropriate."
    I assume this is referring to using the "-packageName" option. If you don't need to use "-packageName", especially if you have multiple directories of JSP pages, it is much easier to just let ojspc pick the package names.

  • I'm getting an error compiling movie Unknown error. It's always been fine before.

    Hi I'm getting an error compiling move Unknown error. Its always worked fine on my mac before.
    I've tried trashing my render files and switching to mercurey playback software only but it won't let me render or export.
    It might be to do with Magic bullet looks plug in but I've used it and hope I don't need to remove it as I love it.
    Please help!

    There's no one solution for Unknown Errors.  You'll have to experiment with different things, hoping to stumble upon something that works.

  • [Forum FAQ] How to get SSIS packages XML definition which are stored in SQL Server Integration Services instance

    Introduction
    Integration Services gives you the ability to import and export packages, and by doing this change the storage format and location of packages. But after import packages into package store, how can we get the package XML definition?
    Solution
    As we know, SSIS packages are stored in msdb using existing SSIS storage table([msdb].[dbo].[sysssispackages]). The “packagedata” column store the actual SSIS package with Image data type. In order to get the package XML definition, we need to convert “packagedata”
    column through Varbinary to XML. You can refer to the following steps:
    Using the following query to get package GUID:
    SELECT [name],
                [id]
      FROM [msdb].[dbo].[sysssispackages]
    Using the following query to convert packagedata column to XML: SELECT id, CAST(CAST(packagedata AS VARBINARY(MAX)) AS XML) PackageDataXML
    FROM      [msdb].[dbo].[sysssispackages]
    WHERE id= 'ABB264CC-A082-40D6-AEC4-DBF17FA057B2'
    More Information
    sysssispackages (Transact-SQL):
    http://msdn.microsoft.com/en-us/library/ms181582.aspx
    Applies to
    SQL Server 2005
    SQL Server 2008
    SQL Server 2008R2
    SQL Server 2012
    SQL Server 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hi Ketak. Thank you for replying. I already followed your instructions - specifically -
    You do not see the SQL Server Reporting Services  service in SharePoint Central Administration after installing SQL Server 2012 SSRS in SharePoint mode
    I get the following error when I run rssharepoint.msi on the APP sever (where Central Admin is installed). I have to run this other wise
    Install-SPRSService and Install-SPRSServiceProxy 
    are not recognized as commands on that server.
    Failed to call GetTypes on assembly Microsoft.AnalysisServices.SPAddin, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91. Could not load file or assembly Microsoft.AnalysisServices.SPClient, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
    or one of its dependencies. The system cannot find the file specified.
    macrel

  • Cant get it to compile

    I am trying to creat a simple program with the JOptionPane. I cant get it to compile, so if any can help me I would apperciate it. Thanks!
    import javax.swing.*;
    public class myPane {
      public static void main(String[] args) {
            getPass(args);
      private static void getPass(String[] args) {
            String s,v,d;
            s = (String)JOptionPane.showInputDialog(null, "Username", "Java command line", JOptionPane.PLAIN_MESSAGE, null, null, "");
            if((s != null) && (s.length() > 0)) {
                    v = (String)JOptionPane.showInputDialog(null, "Password", "Java command line", JOptionPane.PLAIN_MESSAGE, null, null, "");
                    if((v != null) && (v.length() > 0)) {
                            JOptionPane.showMessageDialog(null, "Thank You!", "Java command line");
      d = (String)JOptionPane.showInputDialog(null, "Which command line would you like to run", "Java command line", JOptionPane.PLAIN_MESSAGE, null, null, "");
                    if((d != null) && (d.length() > 0)) {
                             JOptionPane.showMessageDialog(null, "Executing", "Java command line"); System.exit(0);
                    else {
                            JOptionPane.showMessageDialog(null, "You must enter a command");
                            getPass(args);
                    else {
                            JOptionPane.showMessageDialog(null, "Please enter a password");
                            getPass(args);
            else {
                    JOptionPane.showMessageDialog(null, "Please enter a username");
                    getPass(args);
             

    You have two invalid statements:
    JOptionPane.showMessageDialog(null, "Thank You!", "Java command line");
    JOptionPane.showMessageDialog(null, "Executing", "Java command line");The arguments are not acceptable - see the API documentation.

  • Cannot get Java to compile

    I have recently installed the newest Java version on my XP computer. I can't get it to compile the programs
    I have written. I have it saved in C:/Program Files/java_save. When I go to compile I get "javac is not a recognized action or file name." I have tried creating the path in the system settings but I still cannot get it to work. I have tried just about everything I can think of. I am getting really frustrated and haven't gotten an answer from java when I emailed them. Do I need to reinstall java or am I doing something wrong? Any help would be appreciated. Thank You!
    trtrainer

    'Software\JavaSoft\Jave Runtime
    Environment\CurrentVersion' has value '1.4' but '13'
    is required.
    Error: could not find java.dll
    Error: could not find Java 2 Runtime EnvironmentA fast review of the threads on this topic lead me to believe you may need to either 1) add the new bin directory to the path variable as mentioned earlier 2) reinstall the JRE only, due to confusion at the registry level 3) edit/repair the registry itself (careful...)
    Note also the order of the items in the PATH setting. As discussed here in Reply 1..
    http://forum.java.sun.com/thread.jsp?forum=54&thread=164483
    You may wish to remove from the PATH setting any earlier versions of a java sdk you had attempted to install.
    Here are some other threads on this topic..
    http://forum.java.sun.com/thread.jsp?forum=32&thread=142506
    http://forum.java.sun.com/thread.jsp?forum=31&thread=276400
    Reply 1 of this thread suggests reinstalling Java and the response from the OP is that the reinstall resolved the issue.
    http://forum.java.sun.com/thread.jsp?forum=54&thread=299702
    If you installed an IDE with it's own JDK, you may want to look at Reply 2 here..
    http://forum.java.sun.com/thread.jsp?forum=54&thread=183721
    When I type the path: c:\j2sdk1.4.2_04\bin\javac
    HelloWorldApp.java, I get: Error: Cannot Read:
    HelloWorldApp.javaThis simply means that the compiler can not find the file "HelloWorldApp.java" inside the directory from where you are attempting to compile the file.

  • Do you have to get special packages for the iphone?

    Do you have to get special packages, that you have to pay for monthly, in order to get say internet, GPS, weather, etc?

    Btowndawgs39 wrote:
    Do you have to get special packages, that you have to pay for monthly, in order to get say internet, GPS, weather, etc?
    As noted, you have to purchase the $30/month unlimited data plan, which covers all internet and email access, including the iPhone YouTube, weather, maps, and stock widgets. For SMS, you can pay-as-you-go, or sign up for one of the packages (I'll be getting the $5 for 200/month add-on).
    GPS is free, though various location based applications and services may not be.

  • Possible to enter hyperlinks or other type of interfile links that function within PDF Package?

    We deliver our product as a PDF Package. The only apparent benefit is slightly enhanced search function and file navigation and more 'professional' appearance. BUT the huge downside is the loss of hypertext links between files.
    Our product comprises 90 modules all functioning seamlessly via a "Cartesian join": every module to every module. In this way, the collection of PDFs emulates a Help product when NOT packaged and when located in a single folder. User can navigate information (interfile) via hypertext links.
    Once packaged the hypertext links do not work, and even worse (i think I recall) display as errors in the PDF, so hyperlink field codes must be removed versus left in the file latent, in order to create the Package.
    We removed > 5000 hyperlinks in order to package the PDFs. Now I am unsure of the benefit. The loss of dynamic links between files greatly reduces usability as users must follow hard text references to other files, and must locate the target section manually by clicking bookmarks and searching on key words, in the PDF Package. Feels like the dark ages of print.
    Can anyone suggest a workaround (any type of link functionality) that enables links that dynamically open target file, when user clicks linked text IN A PDF PACKAGE (where PDFs have been packaged using the Create Package function)?
    We would like to restore that functionality to our PDF deliverable while still delivering as a Package.
    Thanks in advance for any responses.

    I read where PDF Package was introduced in Acrobat 8. I am using Acrobat Pro 9. I went from 7 directly to 9 so I've never seen Acrobat 8. It appears to me that PDF Package you refer to has been replaced with PDF Portfolio because I don't have the option when combining files to create a package. Are you using Acrobat version 8?
    I create all of my links between PDFs using an Acrobat plug-in called Compose. It has an option that allows for relative links. I've never used Word to link between documents so I don't think I can be of help. I have used InDesign for that purpose and they work for me. I do not combine my PDFs into a "package" or a "portfolio" per se. They remain as separate files just like they were on the system I created them on. I burn them to a CD, folders and all, and use bookmarks and links to navigate between all of them.
    I think we are doing two completely different things so I wouldn't be much help. Sorry.
    Glenn

  • Document of type Link are not getting classified

    Hi All,
    Document of type Link are not getting classified.
    1) Is it a bug from SAP?
    2) We are missing/messing something?
    Regards,
    Ganga.

    We are having this exact same issue.  We're on EP7 SP14.
    Any ideas from the KM gurus out there? 
    Thanks,
    Fallon

Maybe you are looking for

  • I downloaded my Elements 11 software and resitered it and now it won't open on my computer . . . .

    I downloaded my Elements 11 software and resitered it and now it won't open on my computer . . . . do I need to re-install it??

  • How to sync deleted app same on iTunes same on device in one step ?

    Using XP 32bit with iTunes 11.1.3.8 and ios 7.0.4 on ipad 3, when deleting an app and syncing using the usb cord, I have to do twice, so once in itunes library the other time in device app tab., this to have "aligned" same pc same ipad. If I do only

  • ITouch 4th Gen, crashes almost daily, how do I fix it?

    Ok, a month ago the iTouch started to act up, when iOS 5 was released.  Clearly it is a software issue.  At that time, I came to this site because it would not start, it kept the apple logo up.  I eventually used the white apple PC connection cord an

  • Error while using DBMS_MVIEW

    All, I am facing an error while running the below utility . DB Version : 10.1.0.3.0 begin dbms_mview.EXPLAIN_REWRITE( query => 'SELECT one_voice_industry ,quarter, SUM(license_revenue) FROM rep037_fin_iot WHERE 1 = 1 GROUP BY one_voice_industry,quart

  • Sequence column to a report

    Hi Experts, How to give Sequence to the rows of a report? I want to have a column displaying 1 if the first record and then in increasing order by 1.There is no column like this in database. Please help in this. Thanks Meera Edited by: user10399385 o