autoconf help needed on file output

Ask a Question related to UNIX Programming, Design and Development.

  1. #1

    Default autoconf help needed on file output

    I am using AC_OUTPUT(PATH/FILE) to create a file FILE in directory PATH.
    When I run configure on Sun Solaris or OSF system, a "./" is always
    added to the beginning of PATH. If the PATH is an absolute path, e.g.
    PATH=/A/DIR1/
    then configure just try to look for
    .//A/DIR1/
    and report it cannot be found. If I use it on Linux system or if I
    change the PATH to a relative path (e.g. ../../DIR1) the problem doesn't
    exist.

    Does this PATH have to be a relative path on Sun Solaris or OSF system?
    If no, what can I do in order to eliminate that automatic "./" when
    running configure on Sun Solaris and OSF?

    Thank you very much.

    KG

    kg Guest

  2. Similar Questions and Discussions

    1. advice needed... cf write data to xml file for use in flash app thatuses xml file
      I'm wondering if it is possible to use CF to: 1) connect to existing db; 2) get specific data from table; 3) write it to an xml file that would...
    2. Help needed with ASP form browse for file, create link to file and insert in access database
      I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then...
    3. Postscript fonts not needed for Laser output?
      I'm familiar with the need to use Postscript fonts for any output going to a Postscript printer, and that non-postscript fonts (i.e. most fonts that...
    4. [PHP-DEV] autoconf trouble
      Current HEAD won't configure on my GENTOO/Linux laptop: sb@wopr-mobile:/usr/src/php/php5/ > ./cvsclean && ./buildconf using default Zend...
    5. autoconf for 1.8.0
      While trying to install the stable version of Ruby I get the following messsage when running autoconf: autoconf Autoconf requires GNU m4 1.1 or...
  3. #2

    Default Re: autoconf help needed on file output

    kg wrote:
    > I am using AC_OUTPUT(PATH/FILE) to create a file FILE in directory PATH.
    > When I run configure on Sun Solaris or OSF system, a "./" is always
    > added to the beginning of PATH. If the PATH is an absolute path, e.g.
    > PATH=/A/DIR1/
    > then configure just try to look for
    > .//A/DIR1/
    > and report it cannot be found. If I use it on Linux system or if I
    > change the PATH to a relative path (e.g. ../../DIR1) the problem doesn't
    > exist.
    >
    > Does this PATH have to be a relative path on Sun Solaris or OSF system?
    > If no, what can I do in order to eliminate that automatic "./" when
    > running configure on Sun Solaris and OSF?
    You should be using a path that is hard coded into configure.in,
    and is relative to the top directory of the package.

    Russell Shaw Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139