[solved] makepkg puts parentheses around .install filename

Hello,
I am trying to install brscan2 from AUR. When I run makepkg -i, I get the following:
==> ERROR: install file ((brscan2.install)) does not exist.
When I echo the $install variable from inside the PKGBUILD, it shows correctly as brscan2.install. I'm not too familiar with the guts of pacman, and can't imagine where those ((parentheses)) have come from. Can someone help? I have some scanning to do
Thanks
Last edited by timseal (2012-02-09 01:25:38)

In the PKGBUILD:
install=brscan2.install
not...
install=(brscan2.install)
It is a string, not an array...

Similar Messages

  • [solved] makepkg: put .pkg and .src in different directories?

    Hi all, been streamlining my bauerbill/pacman system such that all built packages are saved in /var/cache/pacman/pkg (utilizing bauerbill's 'build-with-auto-patch' for my own small patches). I specify PKGDEST in /etc/makepkg.conf as required.
    My 'issue' is that when I makepkg --source it is also saved to /var/cache/pacman/pkg, which is not really what I want for packages which I'm packaging myself. How do I specify separate targets for .src.tar.gz and .pkg.tar.xz?
    Last edited by ngoonee (2010-05-18 01:02:29)

    Wait until 3.4 is released: http://projects.archlinux.org/pacman.gi … d=afc37c58

  • How can I put a parenthesis around the number?

    Hi expert people!!!
    One question:  How can I put a parenthesis around the number because I have this
    write:   /123 t_bsid-pago1, 141 t_bsid-pago2,
              157 t_bsid-pago3, 175 t_bsid-pago4,
              193 t_bsid-pago5.
    and if I put the parenthesis hardcoded like this:
    write:   /123 '(', t_bsid-pago1,')'.
    when the variable are printed the parenthesis is write very separated from the amount.
    I know that maybe I can use the CONDENSE or CONCATENATE statement but for that I need to create a variable type N, or STRING and if I do that I don't know how can I put the decimals points back.
    Thanks!!

    Hi Carlos,
    Try this:
    REPORT  ZTESTRAJ.
    data: v_val(10) type p decimals 2 value '123456.75',
          v_text type string.
    start-of-selection.
      write:/ v_val.
      v_text = v_val.
      concatenate '(' v_text ')' into v_text.
      condense v_text no-gaps.
      write:/ v_text.
    <b>Output:</b>
    test program...      
    123,456.75 
    <b>(123456.75)</b>          
    Regards,
    Raj
    Message was edited by: Rajasekhar Dinavahi

  • Working at a newspaper, I'm having difficulty making a presentation made in Indesign and must be transformed in an application for Ipad / IOs.  That occurs in DPS consgigo generate the file .ipa put it nsao install on Device, getting the message "instal

    Working at a newspaper, I'm having difficulty making a presentation made in Indesign and must be transformed in an application for Ipad / IOs.
    That occurs in DPS consgigo generate the file .ipa put it nsao install on Device, getting the message "installing" all the time.
    If I get the zip file and the xml of the person who generated the folios, as indicating that the DPS?
    grateful

    In fact, it is listed in the devices profile file. The problem I see is the steps to production of an APP.
    Made as follows:
    My friend created the folios in InDesign (with your login) on another machine. Provided in a shared folder.
    I already have the contents of the application. From here, I believe he should publish through the Folio Producer and then I create the Application Builder IOs in DPS app in Title citing the Login ID he used to publish the content.
    Hence, I believe that would only make the Download Device and see install  APP.
    Is this the correct sequence?
    Please.

  • Putting HTML around APEX items

    Gday,
    I am trying to convert the following HTML to APEX. I am trying to put the html around the APEX items but I cannot get them to sit properly in the tables.
    Can I put html around the APEX items? Or can I put in the HTML and access the objects via APEX?
    <TABLE WIDTH="100%" HEIGHT="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
       <TR ALIGN="CENTER">
          <TD HEIGHT="100%" VALIGN="MIDDLE" ALIGN="CENTER" WIDTH="100%" >
             <TABLE WIDTH="250" BORDER="0" CELLSPACING="0" CELLPADDING="0">
                <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
                <TR>
                   <TD COLSPAN="3" HEIGHT="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" HEIGHT="2" BORDER="0"></TD>
                </TR>
                <TR>
                   <TD WIDTH="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" WIDTH="2" BORDER="0"></TD>
                   <TD>
                      <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER" BORDERCOLOR="#336600">
                         <TR>
                            <TD VALIGN="MIDDLE" ALIGN="CENTER" ROWSPAN="3" bgcolor="#000000">
                               <img src="/i/logo.gif" border="0"  alt="logo" title="logo"><br>
                               <h3><font color="#FFFFFF">Login Page</font></h3>
                            </TD>
                            <TD WIDTH="2" BGCOLOR="#336699" ROWSPAN="3"><IMG SRC="/i/spacer.gif" WIDTH="2" BORDER="0"></TD>
                            <TD VALIGN="MIDDLE">
                               <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
                                                      <TR>
                                                           <TD HEIGHT="5"><IMG SRC="/i/spacer.gif" HEIGHT="5" BORDER="0"></TD>
                                                      </TR>
                                                      <TR>
                                                           <TD VALIGN="MIDDLE"> Username: </TD>
                                                           <TD VALIGN="TOP"><INPUT TYPE="text" NAME="p3_username"></TD>
                                                      </TR>
                                                      <TR>
                                                           <TD VALIGN="MIDDLE"> Password: </TD>
                                                           <TD VALIGN="TOP">
                                                  <INPUT TYPE="PASSWORD" NAME="p3_password" maxlength=15>
                                     </TD>
                                                      </TR>
                                                      <TR>
                                                           <TD HEIGHT="5"><IMG SRC="/i/spacer.gif" HEIGHT="5" BORDER="0"></TD>
                                                      </TR>
                                                      <TR>
                                                           <TD> </TD>
                                                           <TD HEIGHT="25" VALIGN="BOTTOM">
                                                              <INPUT NAME="p3_submit" TYPE="submit" value=" Login ">
                                                           </TD>
                                                      </TR>
                                                      <TR>
                                                           <TD HEIGHT="5"><IMG SRC="/i/spacer.gif" HEIGHT="5" BORDER="0"></TD>
                                                      </TR>
                                 </TABLE>
                            </TD>
                         </TR>
                               <TR>
                                            <TD HEIGHT="2" BGCOLOR="#336699" COLSPAN="4"><IMG SRC="/i/spacer.gif" HEIGHT="2" BORDER="0"></TD>
                                       </TR>
                                       <TR>
                            <TD HEIGHT="34" COLSPAN="3" ALIGN="LEFT" NOWRAP>
                                Enter Username and Password 
                               <br>
                               <center>
                                  <A href="security.changepass" title="Change Password">Change Password</a></center>
                            </TD>
                         </TR>
                      </TABLE>
                   </TD>
                   <TD WIDTH="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" WIDTH="2" BORDER="0"></TD>
                </TR>
                <TR>
                   <TD COLSPAN="3" HEIGHT="2" BGCOLOR="#336699"><IMG SRC="/i/spacer.gif" HEIGHT="2" BORDER="0"></TD>
                </TR>
             </TABLE>
    <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>Cheers

    And like I said I basically want to put APEX text items inside Oracle HTMLAPEX can only handle items [created declaratively through the App Builder|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/app_comp.htm#CHDGFCGB] or programmatically using the [APEX_ITEM API|http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/apex_item.htm#CACEEEJE].
    It looks like you want to create a Login Page. This is a standard APEX page type that can be created from the application home page: click Create Page >, select Login Page, and complete the wizard. The look and feel of this page is controlled by standard APEX [page layout techniques|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/ui.htm#BABJIECG], and the [themes, templates and CSS|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#CJABAEIE] applied. To achieve the required appearance in APEX, page and region templates and CSS can be modified to contain the necessary HTML and properties.
    Try experimenting a bit with the above. If you hit problems, raise new threads dealing with specific, discrete issues...

  • I upgraded Safari in my Mac (10.6.8 Leopard) but the new version does not work with my system so that I now have not a working browser. How can I solve the problem and/or install back my previous Safari version?

    I have upgraded Safari in my Mac, but the new Safari does not work with my system. So I find myself without any working browser. How can I solve this problem and/or install my previous Safari version?

    Reinstall Safari 5.1.10 for OS X 10.6.8: http://support.apple.com/kb/dl1569. Might do the trick.
    But, frankly, I don't think that simply reinstalling the old Safari will work because of all the peripheral, under the hood changes that happen when you upgrade from one version of Safari to another. Reinstalling 5.1.10 may be insufficient to turn back the clock. (This is the moment where a Time Machine or another form of full backup would save your bacon.)
    While you're getting a copy of Safari 5.1.10, get a copy of Firefox (https://www.mozilla.org/en-US/firefox/desktop/), too, so that you have an alternate browser to use as you're sorting matters.

  • Installed new hard drive in imac and i get folder with question mark, put in OS install disk and it does nothing? All I have is wireless key board and mouse, is this a factor?

    Installed new hard drive in imac and i get folder with question mark, put in OS install disk and it does nothing? All I have is wireless key board and mouse, is this an issue?

    Other than put disc in you don't give much info about what you've done. With the install disc inserted restart your Mac while holding the C key, that should start it up from the install disc. Should also work fine with a wireless Apple keyboard.

  • Will re-install of System Solve "Getting "try again" when installing..."

    Have yet to solve "Getting "try again" when installing software..." posted yesterday. Also note inability to perform Safe Boot. Will re-installation of System software (Tiger) restore the functions lost?
    If I'm obliged to do this, any tips on how to: 1) preserve my Internet settings, including Bookmarks; 2)saved (not yet deleted) emails; and (3) my Address book? Where are they? how do I identify these files? Can I do some sort of backup before I go to Install?

    For the convenience of others, here is the list to the other topic:
    http://discussions.apple.com/message.jspa?messageID=9414774#9414774
    The basic problem appears to be disk directory corruption. It is very unlikely reinstalling the OS will cure that since you also appear to want to preserve all your files. In fact, reinstalling the OS might create more damage to your files since the computer has lost track of some of them and might just overwrite them not knowing they are there.
    You either need to try to repair the directory using Diskwarrior (since DU apparently failed), or you need to wipe the drive (and all your files) then reinstall your OS. If doing the second option you should, of course, back up your data files first. However I can't help but feel when people mention backing up a damaged directory that your backups may be incomplete since, again, the computer has lost track of some parts of the files and may not make a complete copy. If I was in your situation, and could afford it, I'd go for getting a copy of Diskwarrior so you can actually repair your drive. If I couldn't afford it I would back up my data files, wipe the drive, then reinstall everything again from scratch, then copy the data files back on and keep my fingers crossed that none of them was part of the corruption.

  • [SOLVED] makepkg ignoreing CFLAGS

    It seems no matter what I do makeflags ignores my CFLAGS and CXXFLAGS options.
    I have added
    CFLAGS="-march=sandybridge -mtune=sandybridge -O3 -pipe"
    to all the locations that makepkg.conf has been installed..
    /etc/makepkg.conf
    /home/jwdev/abs/chroot/jwdev/etc/makepkg.conf
    /home/jwdev/abs/chroot/root/etc/makepkg.conf
    /var/abs/core/pacman/makepkg.conf
    as well as to the makechrootpkg command
    mkarchroot -C /etc/pacman.conf -M /etc/makepkg.conf $CHROOT/root base-devel
    arch-nspawn $CHROOT/root pacman -Syu
    cd $1
    makechrootpkg -c -r $CHROOT -- CFLAGS="-march=sandybridge -mtune=sandybridge -O3 -pipe" CXXFLAGS="-march=sandybridge -mtune=sandybridge -O3 -pipe"
    But still, when I run makepkg I see...
    g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall
    This is the case if I makepkg or makechrootpkg
    is there some otehr secert location for these args? or are they hardcoded in
    I do see that some packages have hardcoded args, like libaio, which kind of defeats the point of abs
    build() {
    cd "$srcdir/$pkgname-$pkgver"
    CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe"
    make
    but in my test case, smplayer, this is not the case
    build() {
    cd "$pkgname-$pkgver"
    make PREFIX=/usr \
    DOC_PATH="\\\"/usr/share/doc/smplayer\\\"" \
    QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
    thanks
    UPDATE:  running makepkg on "joe" I see that the CFLAGS are correct... so it seems that only some (all but 1 so far actually) packages respect the makepkg? while the other just do their 'own thing'?  I am new to Arch, so maybe I am missing a huge piece of information
    Last edited by ntisithoj (2015-03-17 06:35:08)

    The trick desribed in wiki:
    https://wiki.archlinux.org/index.php/makepkg#CFLAGS.2FCXXFLAGS.2FCPPFLAGS_in_makepkg.conf_do_not_work_for_QMAKE_based_packages
    works only with those sources, that use qmake (qmake-qt4) for preconfigure. In those case, you should to define QMAKE variable in PKGBUILD and next invoke it in "build" section. See example of QupZilla that works for me (it's modified qupzilla-qt5-qtwebkit-git's PKGBUILD by Alex Talker):
    pkgname=qupzilla-qt5-qtwebkit-git
    pkgver=r3348.0c37b62
    pkgrel=1
    pkgdesc="A new and very fast open source browser based on WebKit core, written in Qt Framework."
    arch=('i686' 'x86_64')
    url="http://qupzilla.com/index.php"
    license=('GPL')
    depends=( 'qt5-base' 'qt5-script' 'qt5-webkit')
    makedepends=('git')
    provides=('qupzilla' 'qupzilla-git')
    conflicts=('qupzilla' 'qupzilla-git' 'qupzilla-qt5-git')
    source=('git+https://github.com/QupZilla/qupzilla.git')
    md5sums=('SKIP')
    CFLAGS="-march=native -mtune=bdver2 -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
    CXXFLAGS="-march=native -mtune=bdver2 -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
    pkgver() {
    cd qupzilla
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    build() {
    cd "$srcdir/qupzilla"
    export USE_WEBGL="true"
    export KDE_INTEGRATION="true"
    export QUPZILLA_PREFIX="/usr/"
    export USE_LIBPATH="/usr/lib"
    qmake-qt5 "$srcdir/qupzilla/QupZilla.pro" \
    PREFIX=/usr \
    CONFIG+=LINUX_INTEGRATED \
    INSTALL_ROOT_PATH="$pkgdir" \
    QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
    QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}"
    make
    package() {
    cd ${srcdir}/qupzilla
    make INSTALL_ROOT="$pkgdir/" install
    Modified sections are:
    - in "headers" - where I add CFLAGS="something" and CXXFLAGS="something" variable and
    - in "build" section by add:
    QupZilla.pro to
    qmake-qt5 "$srcdir/qupzilla/
    in original PKGBUILD and
    CONFIG+=LINUX_INTEGRATED \
    INSTALL_ROOT_PATH="$pkgdir" \
    QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
    QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}"
    But, in case of smplayer, it looks like, that is "preconfigured". There isn't *.pro file, you don't use "qmake" to preconfigure sources, and typical configuration for it is only:
    make
    sudo make install
    because everything else is in Makefile.txt. You should use another trick (I don't know which will be correct).

  • [svn:osmf:] 14765: Put gate around autoRewind code, to prevent possibility of an infinite loop ( which could happen if you create a SerialElement with the last child a DurationElement of duration zero ).

    Revision: 14765
    Revision: 14765
    Author:   [email protected]
    Date:     2010-03-15 13:48:04 -0700 (Mon, 15 Mar 2010)
    Log Message:
    Put gate around autoRewind code, to prevent possibility of an infinite loop (which could happen if you create a SerialElement with the last child a DurationElement of duration zero).
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayer.as

    Step by step, how did you arrive at seeing this agreement?

  • [solved] makepkg freeze after installing dependencies

    If I try to create a package from the AUR
    makepkg -sfi package-name
    seems to freeze after installing the dependencies. It just stops after installing the last dependency and freezes with 65% CPU-Usage.
    If I quit makepkg after freeze and run it again, building the package works so the dependencies get correctly installed.
    Note to AUR-Helpers:
    Yaourt -> works
    Packer -> works
    pacaur -> doesn't work
    Any Idea what could cause this Problem and how to fix it?
    Last edited by mak42 (2014-09-05 20:45:42)

    Soooo I've found the guilty after digging through the source of "makepkg"
    source /etc/profile &>/dev/null
    causes the problem, if I run this command it freezes, Ctrl+C will kill the whole terminal.
    So now I know the source of the Problem, still trying to figure out why this happens...
    EDIT: Found it I'm using tdm as login-manager, to start it I've put a script into /etc/profile.d/ and this Script gave back an Error "Invalid TTY".
    If you source /etc/profile it can't complete due to this Error.
    So it was completely my fault
    Thank's for your help, now I have to find another way of starting TDM
    EDIT2:
    just put /usr/bin/tdm into ~/.bash_profile and tdm works fine.
    Actually this is already in the wiki, don't know why I didn't do that in the first place
    Last edited by mak42 (2014-09-05 21:00:19)

  • [SOLVED] makepkg creates install path relative to current directory

    I'm packaging a pcsc driver, simply so that I can have pacman manage it. I've tried various things, but I simply cannot get makepkg to generate a package which will install to /usr/ instead of my home directory. build() and package() both work just fine; but I end up with a .pkg.tar.gz that installs to my home directory. Below are both my PKGBUILD files and the output of pacman -Qlp [my].pkg.tar.gz
    pkgname=acsccid
    pkgver=1.0.8
    pkgrel=1
    pkgdesc="Control library for ACS ACR38T"
    arch=('x86_64')
    url="http://www.acs.com.hk/en/driver/1/acr38t-d1-plug-in-sim-sized-card-reader/"
    license=('LGPL')
    depends=('pcsclite' 'libusb-compat' 'flex')
    source=('http://www.acs.com.hk/download-driver-unified/6258/ACS-Unified-Driver-Lnx-Mac-108-P.zip')
    md5sums=('0b235156a66f280a81f949b0c9bb3052') #generate with 'makepkg -g'
    build() {
    cd "ACS-Unified-Driver-Lnx-Mac-108-P"
    tar xjf "$pkgname-$pkgver.tar.bz2"
    cd "$pkgname-$pkgver/"
    ./configure --prefix=/usr --sysconfdir=/etc
    make
    package() {
    cd "ACS-Unified-Driver-Lnx-Mac-108-P/$pkgname-$pkgver"
    make DESTDIR="$pkgdir" usbdropdir="$pkgdir/lib/pcsc/drivers" install
    # pacman -Qlp acsccid-1.0.8-1-x86_64.pkg.tar.xz | sed "s%/home/[a-z]*/%/home/xxx/%"
    acsccid /home/
    acsccid /home/xxx/
    acsccid /home/xxx/projects/
    acsccid /home/xxx/projects/acr38t_driver_pkg/
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/lib/
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/lib/pcsc/
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/lib/pcsc/drivers/
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/lib/pcsc/drivers/ifd-acsccid.bundle/
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/
    acsccid /home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
    Last edited by mkingston (2014-09-11 07:34:46)

    I think you understand makepkg just fine.  It's make that's causing you trouble.  You were telling acsccid to install into
    /home/xxx/projects/acr38t_driver_pkg/pkg/home/xxx/projects/acr38t_driver_pkg/pkg/acsccid/lib/pcsc/drivers/
    which makepkg happily packaged for you.

  • [SOLVED] Makepkg, install dependencies from AUR.

    Is it possible for makepkg to install the dependencies from AUR with makepkg -si?
    Last edited by lemanski6 (2012-09-20 18:05:38)

    Nope.  Many "AUR helpers" do this though.  In my limited experience yaourt seems to be one that handles this seemlessly, but I'd say it comes with some costs of hiding what is doing from the user.

  • [SOLVED] makepkg -s with nested AUR deps on "userless" systems

    hi..
    so for the last two years i was able to solve every Arch Linux problem i had from infos around the wiki, the forum, etc. now i am stuck.
    here's the scenario:
    i am automating installation of a full systems for headless usage.
    no user required and/or wanted.
    this works perfectly until i need something special from the AUR.
    because if a package from the AUR has no dependencies we can run makepkg as user nobody:
    ..# sudo -u nobody makepkg
    but as soon as we need
    ..# sudo -u nobody makepkg -s
    to resolve dependencies from the AUR this fails. "nobody" has no password, therefore we can not sudo.
    my preferred idea would be to create a shortlived dummyuser. but how to get this dummy to behave correctly with creation and entering of the password without actual user interaction? (remember: headless automation)
    i would really like to avoid the special workaround of running my own build-server with all the packages i need on different target machines, putting those made packages somewhere on the internet and then be able to download them to the designated machine and "pacman -U" them there.
    i hope someone with a similar use-case can give me some hints.
    cheers,
    grubernd
    Last edited by grubernd (2015-05-16 17:17:58)

    thanks.
    progandy wrote:…or if you use su, then allow password-free su execution for the wheel group (/etc/pam.d/su) and…
    nice usage of su, will have to dig more into that and i should be able to not need sudo as an extra package.
    but i am really trying to avoid the NOPASSWD route for security reasons.
    apologies, i forgot to mention that in my original post.
    Trilby wrote:
    Why not just script it:
    source PKGBUILD
    pacman -S --asdeps $depends $makedepends
    sudo -u nobody makepkg
    thanks. seeing it written down differently showed me the flaw in my wishful thinking:
    makepkg can of course resolve dependencies but it cannot ever resolve dependencies where one package in the AUR requires another un-made package from the AUR. just doesn't work. that was the block i had.
    although not really beautiful i will just drill down the package-chain and resolve dependencies myself in the installer scripts.
    (marking thread as solved)

  • [SOLVED] Makepkg makes qmake or make act weird and causes trouble

    I am trying to build an Arch package from a Qt app. The app is split into some libraries that are compiled with the main application. Installation instruction for the whole app are defined in src.pro (see the hierarchy below), which are then written into the Makefiles that are generated on-the-fly during the build process. When I run 'qmake && make && make install' manually, everything goes fine. But when I try to build the package using a PKGBUILD, for some reason the Makefile generated based on the src.pro is missing installation instruction for the libraries (lib1, lib2, etc.).
    I don't really have any idea of what is the problem. I tried to study the output of the make process and it seems like that when running makepkg, qmake first runs on each subdirectory to generate the Makefiles and only then begins the actual build process. Manually running make first builds one directory, then the second one and so on and only generates a Makefile when entering a directory. Since the libraries marked for installation do not exist in the beginning of the build process, they are not put into the Makefile at all, I think.
    My first idea for a solution was to move the installation instructions into the libraries' own .pro files but that didn't seem to change anything. The build() process in the makepkg only runs qmake, make and make install - what I also do manually.
    The directory structure of the project is like this:
    project/
        project.pro
        src/
            src.pro
            lib1/
                lib1.pro
            lib2/
                lib2.pro
    Last edited by Verge (2011-10-07 19:07:33)

    After many hours I finally came up with a solution that was too easy... I only needed an "install.pri" file in which I added two lines:
    target.path = /path/
    INSTALLS += target
    Next I just included that file into each lib's .pro file and now the makepkg process works. "target" is somewhat a magical variable for qmake.
    I consider this solved.
    Last edited by Verge (2011-10-07 19:08:22)

Maybe you are looking for

  • Some questions related to site studio 10gR4

    Hi everyone We are developing a solution using UCM, and I have couple of questions regarding the usage of the site studio 10gR4. It will be really great if any one of you can either answer or point me to the rite document/webpage where I can get thes

  • How can I edit reading list on safari?

    How can I edit reading list on safari?

  • Can't Manually Change Collection Sort Order

    When trying to manually change the sort order of any collection I get the following error message: Database "/Users/Dan Donovan/Pictures/Lightroom/Lightroom 5 Catalog.lrcat": AgLibraryCollectionImageOzSortOrder.positionInCollection may not be NULL  

  • After installing version 11.3.1, saying itunes has stopped working

    Accepted update to version 11.3.1 this week and now can't get iTunes to work. It starts up, shows the interface and then promptly a message saying iTunes has stopped working is displayed by Windows X64 and it tries to search for a solution to the pro

  • Get xml node name from clob in loop

    Hi, i hv a procedure to get the xml data's(values of the xml) from a clob. in a table.it works fine the parent tags but if the same tag is there for two times then i am not able to loop it because i dont know the tag name for which the loop should be