In a region iframe src a blob file problem?

hi ,
I try to make an example like this:I have a table which store blob files.And I try to see the file content in html region
htp.p('<iframe src="ptest?n='||:P1_FILE_ID||'" width="650" height="450" />
</iframe>
<item name="deneme" type="button" onclick="doSubmit(NEXT)"></item>');
to display the file in a frame but ı cant see in the frame.when button next submit the other file must be seen but always alert open file or save message but ı dont want this ı want to see the file content in iframe region.Can you help.
thanks.

This is how i am setting the property.
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModuleImpl am =(OAApplicationModuleImpl)pageContext.getRootApplicationModule();
OAPageLayoutBean pagelayoutbean = pageContext.getPageLayoutBean();
OAStackLayoutBean stacklayoutbean = (OAStackLayoutBean)pagelayoutbean.findIndexedChildRecursive("xxdbdIROneTimeAddressRN");
if("enableaddress".equals(pageContext.getParameter(EVENT_PARAM))) {
stacklayoutbean.setRendered(true);
The region 'xxdbdIROneTimeAddressRN' is having messagelovinput bean.

Similar Messages

  • JSP iframe src = 'a file that is created by another JSP'  Error

    I have a JSP file that has an iframe into which, I want to load a .pdf file.
    Firstly, the iframe should contain nothing(and it does so), and when I press a button, another JSP is called, which creates a .pdf file and puts it in the WEB directory of the Application. After creating the .pdf, this JSP calls the first JSP, that now is supposed to load into the iframe the created .pdf.
    The .pdf is created corectly, but I believe that a synchronization is needed, so that the first JSP should not load the .pdf until the second doesn't finish writing it.
    I tried with delaying, but no success.And then I tried with synchronized(page){ }, but there are many possibilities instead of "page", and I came to no success.
    Here are my two JSPs:
    <%--
    Document : user
    Created on : 06.05.2008, 13:27:06
    Author : razvanb
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>UserAbruf</title>
    <script type="text/javascript" language="JavaScript" src="jsscript.js">
    </script>
    </head>
    <style type="text/css">
    body {background-color : white}
    </style>
    <body>
    <%response.setHeader("Cache-Control", "must-revalidate, no-cache");
    response.setHeader("Expires", "0"); %>
    <div style="position:absolute;top:0px;left:0px;width:150px;height:100%" id = "userDiv">
    <form name="userForm" action="userForm" method="post">
    <br>
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td>
    <img src="sign.gif" alt="LOGO" style="position:relative;left:20%"/>
    </td>
    </tr>
    <tr>
    <td>
    <input type="button" value="Neuer Abruf" style="position:relative;top:20px;left:30%" onclick="gotopage('NeuAbrufS.jsp')">
    <br>
    <br>
    <input type="button" value="Abruf bearbeiten" style="position:relative;top:20px;left:30%">
    </td>
    </tr>
    </table>
    </form>
    </div>
    <%
    if(session.getAttribute("isource") == null){
    System.out.println("before pressing");%>
    <div style="position:absolute;top:0px;left:200px;width:100%;height:100%" id = "userFrameDiv">
    <h1 style="position:relative;left:7%;font-family:verdana"> Mobilit�tsabruf-Managementsystem </h1>
    <iframe width="850" height="590" id="frame1" name="frame1" ></iframe>
    </div>
    <% }
    if(session.getAttribute("isource") != null) {
    System.out.println("after pressing:"+ (String)session.getAttribute("isource"));%>
    <div style="position:absolute;top:0px;left:200px;width:100%;height:100%" id = "userFrameDiv">
    <h1 style="position:relative;left:7%;font-family:verdana"> Mobilit�tsabruf-Managementsystem </h1>
    <iframe src = <%=(String)session.getAttribute("isource")%> width="850" height="590" id="frame1" name="frame1" ></iframe>
    </div>
    <%session.setAttribute("isource", null);
    }%>
    </body>
    </html>
    <%-- <%=(String)session.getAttribute("isource")%> --%>
    <%-- Abruf 38 LwA.pdf --%>
    <%--
    Document : NeuAbrufS
    Created on : 08.05.2008, 13:45:02
    Author : razvanb
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Abruf</title>
    </head>
    <body>
    <%-- start web service invocation --%><hr/>
    <%
    try {
    localPackage.UserWsdlService service = new localPackage.UserWsdlService();
         localPackage.UserWsdlPortType port = service.getUserWsdlPort();
         // TODO initialize WS operation arguments here
         localPackage.UserAccount input = new localPackage.UserAccount();
    input.setUsername((String)session.getAttribute("username"));
    input.setPassword((String)session.getAttribute("password"));
    System.out.println(input.getUsername() + ", " + input.getPassword());
         // TODO process result here
         boolean result = port.createNewPdf(input);
    } catch (Exception ex) {
         // TODO handle custom exceptions here
    java.util.Random random = new java.util.Random();
    int randomNr = random.nextInt();
    session.setAttribute("isource", "Abruf 38 LwA.pdf?rubbish="+ randomNr);
    request.getRequestDispatcher("user.jsp").forward(request, response);
    %>
    <%-- end web service invocation --%><hr/>
    <%-- <jsp:forward page="user.jsp"></jsp:forward> --%>
    </html>

    Hi Alha,
    when that file is locked by the other program you can't do anything about that - apart from quitting that other program. Probably this isn't an option to you…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Hi I am using Iframe with src="abc.mht" file. i want to view the mht file content in same window.please help.. Thanks in Advance

    Hi I am using Iframe with src="abc.mht" file. i want to view the mht file content in same window.please help..
    Thanks in Advance

    This is not a Java problem, this is a WEBBOT problem.
    I suggest that you research the topic in your FrontPage help files.
    Yes, we do know how to solve this problem using ordinary HTML and JSP. The sample code that you've posted implies that you are looking for an extremely different solution. To put it another way, it looks like you're logging onto the Federal Aviation Administration's forums and asking them how to go from Chicago to New York by train.
    But in any case, if you can't find the information in FrontPage, I'm 100% certain that if you went to www.microsoft.com and searched for FrontPage and downloads, and skipped the results that actually want you to download FrontPage, you'll get some sample code.

  • Display in browser blob files (.doc, .pdf...) stored in the Database

    Hi,
    I want to display blob file from de DB to the browser, but when I click on the link of the document I want to open, nothing append. If I check the length of the file it is correct. I tried to write it in a directory to see what appends. I can only write txt file. The other files are corrupted.
    I did something like in the topik 532271.
    Did I do something wrong ? Do I have to write some code in the web.xml ?
    Here is my code :
    public DataOutputStream showBlob() throws SQLException, IOException{
    //it is my class not those from java.io
    File file = (File) this.getFiles().getRowData();
    FacesContext faces = FacesContext.getCurrentInstance();
    HttpServletResponse resp = (HttpServletResponse)faces.getExternalContext().getResponse();
    Blob b = file.getBlob();
    int len = 0;
    InputStream is = b.getBinaryStream();
    long length = b.length();
    byte[] x = new byte[10240];
    resp.setHeader("Content-Disposition","filename=\"" + file.getFileName() + "\"");
    resp.setContentType(file.getMimeType().getMime());
    resp.setContentLength((int)length);
    DataOutputStream o = new DataOutputStream(resp.getOutputStream());
    while ( (len = is.read(x)) != -1)
    o.write(x, 0, len);
    o.flush();
    o.close();
    is.close();
    faces.responseComplete();
    return o;
    In my xhtml page I have :
    <ice:commandLink id="downloadLink"
    action="#{managerBean.layoutManager.ediTraining.showBlob}"
    value="#{file.fileName}" target="_blank">          
    </ice:commandLink>
    Thank you for your response.
    Edited by: joce77 on Nov 12, 2007 7:39 AM

    Hi BalusC,
    I did what you explant on this page http://balusc.blogspot.com/2007/07/fileservlet.html whit "FileServlet serving from database".
    When I clik on the link I got an empty page with this html code :
    <iframe id="history-frame" src="/uniform/xmlhttp/blank" style="z-index: 10000; visibility: hidden; width: 0pt; height: 0pt; position: absolute; opacity: 0.22;" title="Icefaces Redirect" frameborder="0"></iframe>
    <script id="dynamic-code" language="javascript"></script>
    <script id="focus-code"></script>
    <script id="select-code"></script>
    <script id="click-code"></script>
    <script id="configuration-script" language="javascript">window.session='YXtNt2XZnElULb3t0j_7BQ';
    document.getElementById('configuration-script').parentNode.viewIdentifier=1;
    if (!window.views) window.views = []; window.views.push(1);
    window.configuration = {synchronous: false,redirectURI: null,connection: {context: '/uniform/',timeout: 30000,heartbeat: {interval: 20000,timeout: 3000,retries: 3}}};
    </script>
    Any idea ?
    Thanks

  • Iframe src bound to backend bean url

    Hello there,
    I have a jspx page with an iframe. I would like to bind
    the src of that iframe to an url which is in my backend
    bean - populated by reading a property file.
    Here the code. .jspx
    <f:verbatim>
    <IFRAME src="http://my.oracle.com" frameborder="0"
    align="middle" height="800" scrolling="auto"
    width="1000" name="myoiFrame"
    id="oiFrame"/>
    </f:verbatim>
    Thanks very much.
    Regards

    Hi,
    only JSF components can be bound to a managed bean.
    Frank

  • ' iframe src="display_file?p_file_id=' || nvl(file_catalog_id,0) || '" / '

    Hi,
    I'm using a file catalog to display a small ifram of each file on one catalog page.
    I added '<iframe src="display_file?p_file_id='||nvl(file_catalog_id,0)||'" />' framepic
    and it displays a PDF in the iframe correctly IF there is only one file.
    If there are 2 files it shows the 1st ones details and then both the iframes in the same row...
    I'm new to iframes so any ideas?
    select FILE_CATALOG_ID,
    FILE_CATALOG_ID "DISPLAY_FILE_ID",
    substr(FILE_NAME,instr(FILE_NAME,'/')+1) "FILE_NAME",
    "DESCRIPTION",
    "UPLOADED_ON",
    "MIME_TYPE",
    '<iframe src="display_file?p_file_id='||nvl(file_catalog_id,0)||'" />' framepic
    from FILE_CATALOG
    Thank you! Bill

    Also
    when I have pictures and use this instead of the iframe it displays a row of detail and the picture for each.
    '<img src="display_file?p_file_id='||nvl(file_catalog_id,0)||'" />' pic
    AND I have the development links to be able to edit the page as normal.
    But, when I use the iframe I lose my dev edit links at the bottom of the page...
    Is this normal?
    :) Bill

  • Blob file downlaod from PL/SQL Anonymous

    i have using sample search packaged application ,I added new column as blob in EBA_DEMO_SEARCH_PROJECTS table and upload image. how can add one more column as download file link(blob file) when we search page region.
    declare
       c pls_integer := 0;
       l_detail varchar2(4000);
       i pls_integer;
       l pls_integer;
       l_max_rows    integer;
       l_vlob              blob;
    begin
    l_max_rows := nvl(:P31_ROWS,10);
    if :P31_SEARCH is null
    and :P31_ASSIGNEE is null
    and :P31_STATUS is null then
       sys.htp.p('<p>'||
           sys.htf.escape_sc('Please enter at least one search condition.')||
           '</p>');
    else
      -- PUT YOUR QUERY HERE
      for c1 in (
      select id, project, task_name, start_date, end_date, status, assigned_to,
           cost, budget,BLOB_FILE
      from EBA_DEMO_SEARCH_PROJECTS
      where (   instr(upper(assigned_to),upper(:P31_ASSIGNEE)) > 0
             or :P31_ASSIGNEE is null)
      and (   instr(upper(status),upper(:P31_STATUS)) > 0
           or :P31_STATUS is null)
      and (   instr(upper(project),upper(:P31_SEARCH)) > 0
           or instr(upper(BLOB_FILE),upper(:P31_SEARCH)) > 0
           or instr(upper(status),upper(:P31_SEARCH)) > 0
           or instr(upper(assigned_to),upper(:P31_SEARCH)) > 0
           or :P31_SEARCH is null
      loop
        c := c + 1;
        if c = 1 then
           sys.htp.p('<ul class="sSearchResultsReport">');
        end if;
        sys.htp.p('<li>');
        sys.htp.prn('<span class="title">');
        -- DEFINE DRILL DOWN LINK HERE
         l_detail := c1.project;
        i := instr(upper(l_detail),upper(:P31_SEARCH));
        if  i > 0 then
           l := length(:P31_SEARCH);
           l_detail := sys.htf.escape_sc(substr(l_detail,1,i-1))||
              '<span class="highlight">'||
              sys.htf.escape_sc(substr(l_detail,i,l))||'</span>'||
              sys.htf.escape_sc(substr(l_detail,i+l));
        end if;
        sys.htp.prn(l_detail);              
        sys.htp.prn('</a></span>');
        sys.htp.prn('<span class="description">');
        -- ASSIGN SECONDARY ATTRIBUTE HERE, REFERENCE QUERY COLUMN
        l_vlob := c1.BLOB_FILE;
        i := instr(upper(l_vlob ),upper(:P31_SEARCH));
        if  i > 0 then
           l := length(:P31_SEARCH);
           l_detail := sys.htf.escape_sc(substr(l_vlob ,1,i-1))||
              '<span class="highlight">'||
              sys.htf.escape_sc(substr(l_vlob ,i,l))||'</span>'||
              sys.htf.escape_sc(substr(l_vlob ,i+l));
        end if;
        sys.htp.prn(l_vlob );
        sys.htp.prn('</span>');
        -- DEFINE ADDITIONAL QUERY COLUMNS FOR SEARCH BELOW
        sys.htp.p('<span class="type">');
        sys.htp.prn('Assigned to: ');
        sys.htp.prn(sys.htf.escape_sc(c1.assigned_to));
        sys.htp.prn('</span>');
        -- display additional column detail
        sys.htp.p('<br /><span class="type">');
        sys.htp.prn('Status: ');
        sys.htp.prn(sys.htf.escape_sc(c1.status));
        sys.htp.prn('</span>');
        sys.htp.prn('</li>');
        if c = l_max_rows then
           exit;
        end if;
      end loop;
      if c > 0 then
        sys.htp.p('</ul>');
        sys.htp.p('<p>'||c||' results found.</p>');
      else
        sys.htp.p('<p>No data found matching your search criteria.</p>');
      end if;
    end if;
    end;
    the error is raising PL/SQL: ORA-00932: inconsistent datatypes: expected NUMBER got BLOB

    Ramani_vadakadu wrote:
    i have using sample search packaged application ,I added new column as blob in EBA_DEMO_SEARCH_PROJECTS table and upload image. how can add one more column as download file link(blob file) when we search page region.
    It is not at all clear what you are trying to do. You say you are uploading an image, but then try to search it as if it were text:
    select id, project, task_name, start_date, end_date, status, assigned_to,
           cost, budget,BLOB_FILE
      from EBA_DEMO_SEARCH_PROJECTS
      where (   instr(upper(assigned_to),upper(:P31_ASSIGNEE)) > 0
             or :P31_ASSIGNEE is null)
      and (   instr(upper(status),upper(:P31_STATUS)) > 0
           or :P31_STATUS is null)
      and (   instr(upper(project),upper(:P31_SEARCH)) > 0
           or instr(upper(BLOB_FILE),upper(:P31_SEARCH)) > 0
           or instr(upper(status),upper(:P31_SEARCH)) > 0
           or instr(upper(assigned_to),upper(:p31_search)) > 0
           or :P31_SEARCH is null
        l_vlob := c1.BLOB_FILE;
        i := instr(upper(l_vlob ),upper(:P31_SEARCH));
        if  i > 0 then
           l := length(:P31_SEARCH);
           l_detail := sys.htf.escape_sc(substr(l_vlob ,1,i-1))||
              '<span class="highlight">'||
              sys.htf.escape_sc(substr(l_vlob ,i,l))||'</span>'||
              sys.htf.escape_sc(substr(l_vlob ,i+l));
        end if;
        sys.htp.prn(l_vlob );
        sys.htp.prn('</span>');
    Unsurprisingly this will not work, as neither the upper, instr, nor substr functions can take a BLOB parameter.
    You need to explain in detail what you are trying to achieve—in terms of requirements, not non-working code. Exactly what are these BLOBs? How are they to be used?
    Note that even if the code above worked, it would not be an efficient way to search a large collection documents. For that, use an Oracle Text index as described in the White Paper Using Oracle Application Express to Build Oracle Text Web Applications. This is obviously for a very old version of APEX, but you're interested in the Oracle Text aspect, not the APEX ones. (And on the subject of APEX versions, you must specify the version you're using whenever you ask a question here.)
    See the Oracle Text docs and Text forum for more information.

  • How do i insert multiple blob files in Stored procedure using c#?

    i want to add multiple blob files to a stored procedure at one go.Thus i have a 2 dimensional byte array consisting of multiple blob files.How to i add this 2 dimensional array to stored procedure?

    Hi Jeff,
    I haven't tried to insert multiple images at a time, but have done it for single image at a time and composed article on it : BizTalk
    Server 2010: How to Insert Image In SQL Through Orchestration and sample can be found at : 
    BizTalk Server 2010: How to Insert
    Image In SQL Through Orchestration sample.
    I hope it helps.
    Maheshkumar S Tiwari|User
    Page | http://tech-findings.blogspot.com/

  • IFRAME Page being redirected to iFrame SRC url instead.

    I am having a problem in getting iFRAME code to work in iWeb 08.
    I have a link on page A which takes me to page B where I have pasted following code within a Html Snippet :
    +<IFRAME SRC="http://www. google.com" WIDTH=1000 HEIGHT=500>+
    +Not working but here is a link to it :+
    +link+
    </IFRAME>
    When I click on link in page A, instead of going to 'http://web.me.com/........page_B.html' and staying there, it parks there (http://web.me.com/........page_B.html) for a second and then is redirected to :
    'https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false &continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl&bsv=zpwhty gjntrz&scc=1&ltmpl=default&ltmplcache=2'.
    Can anyone please help me with this.
    many thanks.
    Message was edited by: mnaseersj

    Whatever it is you try to accomplish, it's a great mess.
    This is what's in the HTML Snippets (I had to kill the loading of the pages):
    widget0
    <IFRAME SRC="http://www.googlemail.com" WIDTH=1000 HEIGHT=500>
    Not working but here is a link to it :
    <A HREF="http://www.googlemail.com">link</A>
    </IFRAME>
    widget1
    <IFRAME SRC="http://www.apple.com" WIDTH=1000 HEIGHT=500>
    Not working but here is a link to it :
    <A HREF="http://www.googlemail.com">link</A>
    </IFRAME>
    widget2
    <IFRAME SRC="http://www.googlemail.com" WIDTH=1000 HEIGHT=500>
    Not working but here is a link to it :
    <A HREF="http://www.googlemail.com">link</A>
    </IFRAME>
    What are the links to google and apple doing there?
    The correct code for a <iframe> is :
    <iframe src="url.to.page.html" width="500" height="500" scrolling="no" frameborder="0"></iframe>
    Perhaps getting acquainted with HTML is in order : [IFRAME - Inline Frame|http://htmlhelp.com/reference/html40/special/iframe.html]

  • Displaying the BLOB files(PDF,TXT,IMAGE,etc) in the Form as an Attachment

    Hi all,
    I need to Open a file which is stored in the Data base Table & the Data type is of BLOB so i am populating the data but i need to display the attachment which is stored in the BLOB file when the button is clicked & i am using Oracle 10g
    I have been just placed a Button & written the below code in WHEN_BUTTON_PRESSED Trigger & i have tried it out by placing a image icon & WHEN_IMAGE_PRESSED but it's not getting worked
    It is Directly Coming in to Exception..
    DECLARE
    vblob BLOB;
    vmime VARCHAR2(30);
    BEGIN
    select attachment,MIME_TYPE into vblob,vmime
    from Table_name_a
    where UNIQUE_ID = 16842;--:ITEM_RESULT.DRAWINGNO;
    htp.init;
    owa_util.mime_header( vmime, false);
    -- owa_util.mime_header( 'image/jpeg', false);
    -- owa_util.mime_header( 'image/jfif', false);
    -- owa_util.mime_header( 'image/gif', false);
    -- owa_util.mime_header( 'application/word' , FALSE);-- to read MS WORD doc
    owa_util.mime_header( 'application/pdf' , FALSE);-- to read ADObE
    message ('attachment type is' ||vmime);
    message ('attachment type is' ||vmime);
    owa_util.http_header_close;
    wpg_docload.download_file(vblob);
    exception
    when no_data_found then
    dbms_output.put_line('1. attachment type is' ||vmime);
    -- NULL;
    end;
    so if any body has any idea Please let me Know
    Hope for the Reply.
    Thanks & Regards
    K Nikethan Reddy

    Hi,
    Thanks for the reply,
    The Document which u Refer is Showing how to Retrieve the Files from the Local System (i.e by giving the path) but i need to populate it from the database.
    K Nikethan Reddy.

  • BLOB Files

    Hi,
    Is it possible to view BLOB files in OBIEE. I have these binary files stored in tables but would like to reference them in a report and allow the user to open a file. These are text/pdf/jpeg files
    Can anyone help?
    Thanks

    Hi,
    Instead of showing that into a report. Save them in the below location and give a link or reference-
    \OracleBI\web\app\res
    \OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    http://oraclebizint.wordpress.com/2007/11/12/oracle-bi-ee-101332-working-with-clob-fields/
    11g supports now a CLOB datatype, don't know the same for BLOB
    But refer below
    http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-reporting-on-clobs-lookups/
    Hope this helped/ answered.
    Regards
    MuRam
    Edited by: MuRam on Jun 12, 2012 6:42 AM

  • Radio Button group with images stored as BLOB files in database

    Hey all!
    I have radio button group, my idea is that radio button's LOV must display images, I mean BLOB files stored in a table.
    How can I do this?

    Hello Ken,
    I asked similar question in the past, and I believe the answer is still the same.
    Select List as an option of a Radio Group
    In your case, I think you can use a select list with added functionality, like "Select List with Branch to Page" or "Select list with Submit", or you can just attach an onChange event (JavaScript) to each select list. The effect should be similar to a radio group – as soon as the user select one item from any of the select lists, you can fire some action, based on the select list value.
    Hope this can help,
    Arie.

  • [SOLVED!] makepkg won't "make" (cd: src: no such file or directory)

    Here is an install log:
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for a BSD-compatible install... /bin/install -c
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking whether gcc and cc understand -c and -o together... yes
    checking for pkg-config... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.19... yes
    checking for fopencookie... yes
    checking for funopen... no
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for iconv... yes
    checking for working iconv... yes
    checking for iconv declaration...
    extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking alsa/asoundlib.h usability... yes
    checking alsa/asoundlib.h presence... yes
    checking for alsa/asoundlib.h... yes
    checking for snd_pcm_open in -lasound... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking for unistd.h... (cached) yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking for sys/stat.h... (cached) yes
    checking linux/soundcard.h usability... yes
    checking linux/soundcard.h presence... yes
    checking for linux/soundcard.h... yes
    checking for alsa/asoundlib.h... (cached) yes
    checking dirent.h usability... yes
    checking dirent.h presence... yes
    checking for dirent.h... yes
    checking mcheck.h usability... yes
    checking mcheck.h presence... yes
    checking for mcheck.h... yes
    checking sys/statfs.h usability... yes
    checking sys/statfs.h presence... yes
    checking for sys/statfs.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking assert.h usability... yes
    checking assert.h presence... yes
    checking for assert.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking for sys/mount.h... yes
    checking sys/inotify.h usability... yes
    checking sys/inotify.h presence... yes
    checking for sys/inotify.h... yes
    checking for calloc... yes
    checking for malloc... yes
    checking for free... yes
    checking for popen... yes
    checking for sysinfo... yes
    checking for getloadavg... yes
    checking for memrchr... yes
    checking for strndup... yes
    checking for gethostbyname_r... yes
    checking for library containing clock_gettime... -lrt
    checking for struct statfs.f_fstypename... no
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking for db2x_xsltproc... no
    checking for db2x_manxml... no
    checking for xsltproc... no
    checking if /usr/bin/ld accepts -O1... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating data/Makefile
    config.status: creating doc/Makefile
    config.status: creating src/Makefile
    config.status: creating src/build.h
    config.status: creating lua/Makefile
    config.status: creating src/config.h
    config.status: src/config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    conky 1.7.2 configured successfully:
    Installing into: /usr
    System config dir: /etc
    C compiler flags: -Wall -W
    Libraries: -lm -lasound -lrt
    Linker flags: -Wl,-O1
    * X11:
    X11 support: no
    XDamage support: no
    XDBE support: no
    Xft support: no
    * Music detection:
    Audacious: no
    BMPx: no
    MPD: yes
    MOC: yes
    XMMS2: no
    * General:
    OpenMP:
    math: yes
    hddtemp: no
    portmon: no
    RSS: no
    Curl: no
    Weather
    METAR: no
    XOAP: no
    wireless: no
    IBM: no
    nvidia: no
    eve-online: no
    config-output: yes
    Imlib2: no
    ALSA mixer: yes
    apcupsd: yes
    I/O stats: yes
    * Lua (no) bindings:
    Cairo: no
    Imlib2: no
    Making all in src
    /bin/sh: line 17: cd: src: No such file or directory
    make: *** [all-recursive] Error 1
    A couple of months ago I stumbled upon this problem, but handfixed all entrances in Makefiles recursively, changing explicitly '/bin/sh' on '/bin/bash' (although, /bin/sh is a link on /bin/bash). Now I had do deploy archlinux on another machine and here's the problem, again.
    Last edited by cra (2009-10-27 12:43:53)

    Ok, I rm'ed the src and pkg subdirectories for package cairo-lcd, here's what I have:
    (Actually, no specific options for makepkg)
    [cra@cratop 07:47:47 ~/downloads/cairo-lcd]
    $ ls
    PKGBUILD cairo-1.8.8.tar.gz lcd-filter.patch
    [cra@cratop 07:48:46 ~/downloads/cairo-lcd]
    $ makepkg
    ==> Making package: cairo-lcd 1.8.8-1 i686 (Wed Oct 21 07:48:50 MSD 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found cairo-1.8.8.tar.gz in build dir
    -> Found lcd-filter.patch in build dir
    ==> Validating source files with md5sums...
    cairo-1.8.8.tar.gz ... Passed
    lcd-filter.patch ... Passed
    ==> Extracting Sources...
    -> bsdtar -x -f "cairo-1.8.8.tar.gz"
    ==> Entering fakeroot environment...
    ==> Starting build()...
    patching file doc/public/cairo-sections.txt
    Hunk #1 succeeded at 326 (offset 7 lines).
    patching file src/cairo-font-options.c
    patching file src/cairo-ft-font.c
    Hunk #2 succeeded at 742 (offset 3 lines).
    Hunk #3 succeeded at 1034 (offset 3 lines).
    Hunk #4 succeeded at 1091 (offset 3 lines).
    Hunk #5 succeeded at 1103 (offset 3 lines).
    Hunk #6 succeeded at 1124 (offset 3 lines).
    Hunk #7 succeeded at 1162 (offset 3 lines).
    Hunk #8 succeeded at 1225 (offset 3 lines).
    Hunk #9 succeeded at 1252 (offset 3 lines).
    Hunk #10 succeeded at 1500 (offset 3 lines).
    Hunk #11 succeeded at 1542 (offset 3 lines).
    Hunk #12 succeeded at 1578 (offset 3 lines).
    Hunk #13 succeeded at 1697 (offset 3 lines).
    Hunk #14 succeeded at 1726 (offset 3 lines).
    Hunk #15 succeeded at 2695 (offset 25 lines).
    patching file src/cairo-types-private.h
    Hunk #1 succeeded at 116 (offset 8 lines).
    patching file src/cairo-xlib-screen.c
    Hunk #1 succeeded at 143 with fuzz 1 (offset 11 lines).
    Hunk #2 succeeded at 159 (offset 11 lines).
    Hunk #3 succeeded at 257 (offset 11 lines).
    Hunk #4 succeeded at 287 (offset 11 lines).
    patching file src/cairo.h
    Hunk #1 succeeded at 1046 (offset 78 lines).
    Hunk #2 succeeded at 1171 (offset 78 lines).
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for bash... /bin/bash
    checking if dolt supports this host... yes, replacing libtool
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking whether to build gtk-doc documentation... no
    checking for gtkdoc-check... no
    checking for find... /usr/bin/find
    checking for xargs... /usr/bin/xargs
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking whether we are using the GNU C++ compiler... (cached) yes
    checking whether g++ accepts -g... (cached) yes
    checking dependency style of g++... (cached) gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether gcc and cc understand -c and -o together... yes
    checking for inline... inline
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking whether byte ordering is bigendian... no
    checking whether float word ordering is bigendian... no
    checking for native atomic primitives... Intel
    checking whether atomic ops require a memory barrier... no
    checking for native Win32... no
    checking for Sun Solaris (non-POSIX ctime_r)... no
    checking for cos in -lm... yes
    checking for sched_yield in -lrt... yes
    checking for stdint.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking sys/int_types.h usability... no
    checking sys/int_types.h presence... no
    checking for sys/int_types.h... no
    checking for uint64_t... yes
    checking for uint128_t... no
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking for unistd.h... (cached) yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking for sys/stat.h... (cached) yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking sys/poll.h usability... yes
    checking sys/poll.h presence... yes
    checking for sys/poll.h... yes
    checking sys/un.h usability... yes
    checking sys/un.h presence... yes
    checking for sys/un.h... yes
    checking sched.h usability... yes
    checking sched.h presence... yes
    checking for sched.h... yes
    checking for sched_getaffinity... yes
    checking fenv.h usability... yes
    checking fenv.h presence... yes
    checking for fenv.h... yes
    checking for feenableexcept... yes
    checking for fedisableexcept... yes
    checking libgen.h usability... yes
    checking libgen.h presence... yes
    checking for libgen.h... yes
    checking byteswap.h usability... yes
    checking byteswap.h presence... yes
    checking for byteswap.h... yes
    checking for signal.h... (cached) yes
    checking setjmp.h usability... yes
    checking setjmp.h presence... yes
    checking for setjmp.h... yes
    checking for vasnprintf... no
    checking for link... yes
    checking for ctime_r... yes
    checking for drand48... yes
    checking for flockfile... yes
    checking windows.h usability... no
    checking windows.h presence... no
    checking for windows.h... no
    checking for supported warning flags...
    checking whether gcc supports -Wall... yes
    checking whether gcc supports -Wextra... yes
    checking whether gcc supports -Wsign-compare... yes
    checking whether gcc supports -Werror-implicit-function-declaration... yes
    checking whether gcc supports -Wpointer-arith... yes
    checking whether gcc supports -Wwrite-strings... yes
    checking whether gcc supports -Wstrict-prototypes... yes
    checking whether gcc supports -Wmissing-prototypes... yes
    checking whether gcc supports -Wmissing-declarations... yes
    checking whether gcc supports -Wnested-externs... yes
    checking whether gcc supports -Wpacked... yes
    checking whether gcc supports -Wswitch-enum... yes
    checking whether gcc supports -Wmissing-format-attribute... yes
    checking whether gcc supports -Wstrict-aliasing=2... yes
    checking whether gcc supports -Winit-self... yes
    checking whether gcc supports -Wunsafe-loop-optimizations... yes
    checking whether gcc supports -Wdeclaration-after-statement... yes
    checking whether gcc supports -Wold-style-definition... yes
    checking whether gcc supports -Wno-missing-field-initializers... yes
    checking whether gcc supports -Wno-unused-parameter... yes
    checking whether gcc supports -Wno-attributes... yes
    checking whether gcc supports -Wno-long-long... yes
    checking whether gcc supports -Winline... yes
    checking whether gcc supports -fno-strict-aliasing... yes
    checking whether gcc supports -fno-common... yes
    checking whether gcc supports -Wp,-D_FORTIFY_SOURCE=2... yes
    checking which warning flags were supported... -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2
    checking how to enable unused result warnings... __attribute__((__warn_unused_result__))
    checking how to allow undefined symbols in shared libraries used by test suite... checking whether gcc supports -Wl,--allow-shlib-undefined... yes
    -Wl,--allow-shlib-undefined
    checking for VALGRIND... no
    no
    checking for compress in -lz... yes
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking for X... libraries , headers
    checking for cairo's Xlib surface backend feature...
    checking for xlib... yes
    checking whether cairo's Xlib surface backend feature could be enabled... yes
    checking for cairo's Xlib Xrender surface backend feature...
    checking for xlib_xrender... yes
    checking whether cairo's Xlib Xrender surface backend feature could be enabled... yes
    checking for cairo's XCB surface backend feature...
    checking for xcb... yes
    checking whether cairo's XCB surface backend feature could be enabled... yes
    checking for cairo's Quartz surface backend feature...
    checking ApplicationServices/ApplicationServices.h usability... no
    checking ApplicationServices/ApplicationServices.h presence... no
    checking for ApplicationServices/ApplicationServices.h... no
    checking CoreGraphics/CoreGraphics.h usability... no
    checking CoreGraphics/CoreGraphics.h presence... no
    checking for CoreGraphics/CoreGraphics.h... no
    checking whether cairo's Quartz surface backend feature could be enabled... no (requires CoreGraphics framework)
    checking for cairo's Quartz font backend feature...
    checking whether cairo's Quartz font backend feature could be enabled... no (requires CoreGraphics framework)
    checking for cairo's Microsoft Windows surface backend feature...
    checking whether cairo's Microsoft Windows surface backend feature could be enabled... no (requires a Win32 platform)
    checking for cairo's Microsoft Windows font backend feature...
    checking whether cairo's Microsoft Windows font backend feature could be enabled... no (requires a Win32 platform)
    checking for cairo's PNG functions feature...
    checking for png... yes
    checking whether cairo's PNG functions feature could be enabled... yes
    checking for cairo's FreeType font backend feature...
    checking for FONTCONFIG... yes
    checking for FcFini... yes
    checking for FREETYPE... yes
    checking whether cairo's FreeType font backend feature could be enabled... yes
    checking for FT_Bitmap_Size.y_ppem... yes
    checking for FT_GlyphSlot_Embolden... yes
    checking for FT_Load_Sfnt_Table... yes
    checking for FT_Library_SetLcdFilter... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking for cairo's PostScript surface backend feature...
    checking whether cairo's PostScript surface backend feature could be enabled... yes
    checking for gs... gs
    checking for LIBSPECTRE... yes
    checking for cairo's PDF surface backend feature...
    checking whether cairo's PDF surface backend feature could be enabled... yes
    checking for POPPLER... yes
    checking for poppler_page_render... yes
    checking for cairo's SVG surface backend feature...
    checking whether cairo's SVG surface backend feature could be enabled... yes
    checking for LIBRSVG... yes
    checking for rsvg_pixbuf_from_file... yes
    checking for cairo's image surface backend feature...
    checking for pixman... yes
    checking whether cairo's image surface backend feature could be enabled... yes
    checking for cairo's user font backend feature...
    checking whether cairo's user font backend feature could be enabled... yes
    checking for gtk... yes
    configure: creating ./config.status
    config.status: creating src/cairo.pc
    config.status: creating cairo-uninstalled.pc
    config.status: creating src/cairo-xlib.pc
    config.status: creating cairo-xlib-uninstalled.pc
    config.status: creating src/cairo-xlib-xrender.pc
    config.status: creating cairo-xlib-xrender-uninstalled.pc
    config.status: creating src/cairo-xcb.pc
    config.status: creating cairo-xcb-uninstalled.pc
    config.status: creating src/cairo-png.pc
    config.status: creating cairo-png-uninstalled.pc
    config.status: creating src/cairo-ft.pc
    config.status: creating cairo-ft-uninstalled.pc
    config.status: creating src/cairo-ps.pc
    config.status: creating cairo-ps-uninstalled.pc
    config.status: creating src/cairo-pdf.pc
    config.status: creating cairo-pdf-uninstalled.pc
    config.status: creating src/cairo-svg.pc
    config.status: creating cairo-svg-uninstalled.pc
    config.status: creating Makefile
    config.status: creating boilerplate/Makefile
    config.status: creating src/Makefile
    config.status: creating test/Makefile
    config.status: creating test/pdiff/Makefile
    config.status: creating perf/Makefile
    config.status: creating util/Makefile
    config.status: creating doc/Makefile
    config.status: creating doc/public/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing ./build/Makefile.win32.features commands
    config.status: creating ./build/Makefile.win32.features
    config.status: ./build/Makefile.win32.features is unchanged
    config.status: executing ./src/Makefile.am.features commands
    config.status: creating ./src/Makefile.am.features
    config.status: ./src/Makefile.am.features is unchanged
    config.status: executing ./src/Makefile.win32.features commands
    config.status: creating ./src/Makefile.win32.features
    config.status: ./src/Makefile.win32.features is unchanged
    config.status: executing ./boilerplate/Makefile.am.features commands
    config.status: creating ./boilerplate/Makefile.am.features
    config.status: ./boilerplate/Makefile.am.features is unchanged
    config.status: executing ./boilerplate/Makefile.win32.features commands
    config.status: creating ./boilerplate/Makefile.win32.features
    config.status: ./boilerplate/Makefile.win32.features is unchanged
    config.status: executing src/cairo-features.h commands
    config.status: creating src/cairo-features.h
    config.status: executing ./src/cairo-supported-features.h commands
    config.status: creating ./src/cairo-supported-features.h
    config.status: ./src/cairo-supported-features.h is unchanged
    config.status: executing ./build/Makefile.win32.features-h commands
    config.status: creating ./build/Makefile.win32.features-h
    config.status: ./build/Makefile.win32.features-h is unchanged
    cairo (version 1.8.8 [release]) will be compiled with:
    The following surface backends:
    Image: yes (always builtin)
    Xlib: yes
    Xlib Xrender: yes
    Quartz: no (requires CoreGraphics framework)
    Quartz-image: no (disabled, use --enable-quartz-image to enable)
    XCB: yes
    Win32: no (requires a Win32 platform)
    OS2: no (disabled, use --enable-os2 to enable)
    PostScript: yes
    PDF: yes
    SVG: yes
    glitz: no (disabled, use --enable-glitz to enable)
    BeOS: no (disabled, use --enable-beos to enable)
    DirectFB: no (disabled, use --enable-directfb to enable)
    The following font backends:
    User: yes (always builtin)
    FreeType: yes
    Win32: no (requires a Win32 platform)
    Quartz: no (requires CoreGraphics framework)
    The following functions:
    PNG functions: yes
    And the following internal features:
    gcov support: no
    test surfaces: no (disabled, use --enable-test-surfaces to enable)
    ps testing: yes
    pdf testing: yes
    svg testing: yes
    --- The XCB surface backend feature is still under active development and is
    --- included in this release only as a preview. It does NOT fully work yet
    --- and incompatible changes may yet be made to XCB surface backend specific
    --- API.
    make all-recursive
    make[1]: Entering directory `/home/cra/downloads/cairo-lcd/src/cairo-1.8.8'
    Making all in src
    /bin/sh: line 17: cd: src: No such file or directory
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/cra/downloads/cairo-lcd/src/cairo-1.8.8'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    [cra@cratop 07:49:13 ~/downloads/cairo-lcd]
    $

  • Firefox 3.6 crashes or hangs when setting an iframe src to a pdf via javascript. 3.5 works fine

    Firefox hangs or crashes when setting iframe src to a pdf via javascript. Works fine in all previous versions of Firefox. This is using the most recent version of Adobe Reader 9.
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 3.6

    More info:
    Seems to be the same issue as this
    [http://support.mozilla.com/en-US/forum/1/585926#threadId622326]
    and this
    [http://support.mozilla.com/en-US/forum/1/585926?forumId=1&comments_threshold=0&comments_parentId=585926&comments_offset=20&comments_per_page=20&thread_style=commentStyle_plain#threadId659555]

  • View Doc (pdf, image, .doc) imported as BLOB files in UIImageView within a UIScrollView.

    Hi,
    I am new to IOS programming and after researching on topic i found post saying it is possible to view BLOB file in uiimageView.
    I have already done sucessfully for BLOB file of Image. but i can not view pdf file, even if i got NSData.
    /****** from SP ****/
    Insert TestBlob(tbName, tbDesc, tbBin) Select
    'Test.pdf','PDF file', BulkColumn from Openrowset( Bulk
    'C:\blob\udoc\81.pdf', Single_Blob) as tb
    /****** from my App *******/
    NSString *strImage; // String has BLOB file from DB
    NSData *imageData = [self dataFromBase64EncodedString:strImage];
    UIImage *image = [UIImage imageWithData:imageData];
    UIImageView *m_oImageViewer = [[UIImageView alloc]init];
    m_oImageViewer.image = image;
    m_oImageViewer.frame=CGRectMake((self.view.frame.size.width/2)- 250,60,500,500);
    [self.view addSubview:m_oImageViewer];
    -(NSData *)dataFromBase64EncodedString:(NSString *)string{
    if (string.length > 0)
         NSString *data64URLString = [NSString stringWithFormat:@"data:;base64,%@", string];
        NSData *data = [NSData dataWithContentsOfURL:[NSURL URLWithString:data64URLString]];
        return data;
    return nil;
    Please help me. i have already viewd Image but PDF comming empty. i do not want to edit or do anything only user should be able to view uploaded Doc from IPD App. and Doc can be image, pdf or .doc or excel sheet. i get BLOB file for all file types which i pass to my App.
    IS what i am doing is correct? as i imagine BLOB is common for all file Types. still i can not see pdf file(i have not tried other file formate only .png and pdf).
    Please guid me if i am missing anything.

    Hi Sreelatha. The best example code for your purpose is the Scrolling sample app I referred to previously. The word Scrolling in that post is a link to the download page. I think that code will answer all your questions about how to init a UIImage, then use it to init a UIImageView, and then position the UIImageView frame in a UIScrollView. Two cases are demostrated: 1) Scrolling horizontally through a series of images; 2) Scrolling both H & V over a single image which is several times larger than the window.
    You might also be interested in the PageControl sample app in case you want to add a page control to your scroll view.
    Reading your last post again... I sure hope we've been discussing images (like jpegs?) in this thread. This isn't about reading and rendering the actual xls, pdf and doc files, is it?? Of course the iPhone handles html beautifully, so for example, an html representation of a doc file would play nicely. But in that case you'd want a UIWebView, not a UIImageView.

Maybe you are looking for

  • Computer won't boot up!  Please help.

    How's it going guys, I have a powerbook G4 that I have owned for a few years now. I woke up this morning to my computer making a weird processor noise, it was a repetitive noise, and my screen was frozen. I thought my computer had frozen or something

  • Scaling issues with Windows 8.1 and 3200x1800 displays?

    What about scaling issues with CS6 Illustrator and Photoshop?  I have a hidpi 3200x1800 13" laptop with win 8.1 and can't use the software because of the tiny text. Thanks, PK Sent from my iPhone

  • Dynamic Configuration Header is Missing

    Hi, Am getting this following when I tried a simple UDF in mapping, please let me know your thoughts "Exception caught by adapter framework: Dynamic Configuration Header is Missing." UDF DynamicConfiguration conf = (DynamicConfiguration) container.ge

  • CommandLink and target property

    I am having problem with target property of commandLink, I would like to set target to "_top" in order to be able to exit frame mode when a specific link is clicked. I have read in other postings that target for commandLink did not work for others. I

  • Problem in publishing Captivate 3 trial version

    I have created a online demo using captivate3 trial version and am trying to publish the same, but it doesnt happen. Kindly someone help me out in this.