Trouble with Jam/CMake won't generate install target (bullet physics)

Hi,
I am attempting to build the bullet physics engine so that it creates shared libraries of it's functionality, instead of static ones. The problem is that I have absolutely no luck when it comes to building this with PKGBUILD, even though the bullet project ships with both Jam and CMake.
1: By using Jam, I am not able to tell the build system that I want to create shared libraries. I just cannot find a way to do that (I googled ALOT). PKGBUILD works fine, and packages everything up nicely, but the libraries are static.
2: By using CMake, I am able to build shared libraries, but CMake does not generate a 'make install' target, so the pacman package remains empty, as nothing is copied to the pkg/ folder.
Note the make: *** No rule to make target `install'.  Stop.
[100%] Built target SoftBodyDemo
make: *** No rule to make target `install'. Stop.
==> Tidying install...
-> Removing info/doc files...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
In desperation; does anybody know how I can tell Jam to build shared libraries, OR tell CMake to create a 'make install' target.
PKGBUILD for CMake:
# Contributor: rabyte <rabyte.at.gmail.dot.com>
pkgname=bullet
pkgver=2.69
pkgrel=1
pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation"
arch=('i686')
url="http://www.bulletphysics.com/Bullet/"
license=('ZLIB')
makedepends=('cmake')
source=(http://bullet.googlecode.com/files/$pkgname-$pkgver.tgz)
md5sums=('5028637d4689b1d8c0cca5b9a357846a')
build() {
cd $startdir/src/$pkgname-$pkgver
cmake .
make || return 1
make DESTDIR=$startdir/pkg install
install -m644 -D BulletLicense.txt $startdir/pkg/usr/share/licenses/$pkgname/BulletLicense.txt
CMakeLists.txt in the parent folder.
PROJECT(BULLET_PHYSICS)
IF (NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "Release")
ENDIF (NOT CMAKE_BUILD_TYPE)
SUBDIRS(src Demos Extras)
Thanks in advance.

I am modifying the correct httpd.conf file on the server, it just doesn't seem to work. - If I put the rewrite rules in the <Directory /> the rewrite works but it adds /Library/WebServer/Documents to the URL.
I also tried putting the rewrite rules in <IfModule mod_rewrite.c> but that did not work either.
mod_rewrite is enabled and running on the server.
I will post the rewrite rules again in the code brackets. Sorry for the long post. - If some one can try them out on their Leopard Server to see if they can get them to work, it would be much appreciated. Again, these work on my Leopard Client but I can't get them to work on Server.
-- The httpd.conf file posted above is just the default conf file found in /private/etc/apache2/
<code>
RewriteEngine On
Options +FollowSymLinks
RewriteRule ^(.+)/$ http://%{HTTP_HOST}$1 [R=301, L]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.php(.*)\ HTTP
RewriteRule (.+)\.php(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.asp(.*)\ HTTP
RewriteRule (.+)\.asp(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.aspx(.*)\ HTTP
RewriteRule (.+)\.aspx(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.htm.(.)\ HTTP
RewriteRule (.+)\.htm.(.)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.cfm(.*)\ HTTP
RewriteRule (.+)\.cfm(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.bak(.*)\ HTTP
RewriteRule (.+)\.bak(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\.inc(.*)\ HTTP
RewriteRule (.+)\.inc(.*)$ $1$2 [R, L]]
RewriteCond %{THE_REQUEST} ^GET\ ([^\?]+)\..(.)\ HTTP
RewriteRule (.+)\..(.)$ $1$2 [R, L]]
<code>

Similar Messages

  • I am having trouble with iPhoto-it won't launch.

    am having trouble with iPhoto-it won't launch and leaves a blank white screen box and spinning wheel of death-if I re-install software-will I lose all photos and faces settings? Any ideas-this is a Mac Pro and Xserve school system.
    It seemed to stem from when I was transferring some movie footage from an HD camcorder to iMovie.
    This is a school system and I'm worried I may lose many photos and face recognition data.
    Phil

    1. The library is separate from the application, so re-installing shouldn't cause an issue with the actual photos. But it would be foolhardy in the extreme to do anything without first backing up.
    2. Often these issues are caused by a damaged Library, so reinstalling doesn't change much.
    FWIW
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.
    Alternative approach:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Having trouble with double entries in ical after installing Lion.  After entering an event, another one pops up right next to it.

    Having trouble with double entries in ical after installing Lion.  After entering an event, another one pops up right next to it.

    Check iCal preferences, the Accounts Tab. You might have duplicate accounts.

  • Having trouble with time capsule, won't find backups

    having trouble with time capsule, won't find backups

    Usually a simple reboot will work.. Reboot the TC..
    If that is not enough.. Restart the whole network from off.
    Mountain Lion and to a lesser extent Lion.. have network issues and lose track of the TC.

  • I am having trouble with a form, won't tab to 2nd page...

    I am having trouble with a form I created in Acrobat Pro 10. I created tabs etc, they all work wonderfully in Adobe, but once I uploaded it onto the web-based program for other users, the tabs only work  on page 1, I have to click on page 2 to keep tabbing through.  It won't tab into it.  Any advise?  Also, when the users open it it opens in the web.

    1. The library is separate from the application, so re-installing shouldn't cause an issue with the actual photos. But it would be foolhardy in the extreme to do anything without first backing up.
    2. Often these issues are caused by a damaged Library, so reinstalling doesn't change much.
    FWIW
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.
    Alternative approach:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Trouble with finder / spotlight ever since i installed lion.

    Lion seems to have caused trouble with finder / spotlight ever since it was installed. Finder is struggling even with basic tasks (moving files)? This occures even when to other programmes are running. I have checked the VM for mds in activity monitor and this is constantly running at around 670MB, which is what I think is affecting finder. Is there any quick fix?

    Disconnect all wired peripherals except the drive in question. The drive should be connected to a built-in USB port, not a hub, and it should have an external power source. Make sure the USB cable is securely seated at both ends. Boot in safe mode.
    Test. Same problem? Connect it to a different built-in USB port. Same problem now? Try a different USB cable. Still the same?
    After testing, reboot as usual (not in safe mode.)
    If you have the same problem with the drive in all the above tests, then test it with another Mac, if possible.
    Mac OS X: Starting up in Safe Mode

  • GarageBand 08 with Jam pack 1: unable to install update 1.0.1

    Hi,
    I have reinstalled my iMac with Leopard back in november. I recently reinstalled my GB JP 1 and the software update is telling me I should install JP 1 update 1.0.1. But each time I try, it tells me that it cannot install the update, because it cannot write files in "/".
    Any idea what's wrong with this?
    Thanks

    same issue here. Now the updated instruments or loops are grayed-out in GB.
    Will attempt to delete the receipt for jam pack 1... kind of annoying.

  • HELP ME PLEASE - TROUBLES WITH BB APP WORLD AND CANNOT INSTALL APPLICATIO​NS

    Hi there,
    can anyone help me... I've been trying all day to try and download apps from my desktop to my BB Curve 8520. i was trying to download dexrex... so i select to download it, i get redirected to a page that asks me for my email and PW, I provide the info and am redirected to another page "blackberry app world setup" 
    step 1 states "You have installed the BlackBerry App World Browser Plug-in on this computer."
    Step 2 asks for me to connect my smartphone and select my device. I select the only PIN available that comes up. I am prompted for a Password and provide it.
    Step 3 states the following... "you have a version of blackberry app world that enables account creation"
    I click onto Next on the bottom left - and terms and conditions come up, i select "i agree"
    then this comes up from paypal....
    "Our records indicate that you have already paid for items in App World with a PayPal account. To transfer your paid items to your My World account and connect your PayPal account to your My World account, please click the button below to be taken to the PayPal site to validate your credentials."
    the only thing to click on really is the paypal ... and i get redirected to the blackberry ID sign in page and repeat all the same steps as above.
    Please help me!!!

    I've gone through the exact same process as you. Frustrating!!
    It's infuriating to get an error message that says "Blackberry App World cannot be downloaded from Blackberry App World."
    And it's downright SCARY to get the following message when you've NEVER used PayPal in your life:
    "Our records indicate that you have already paid for items in App World with a PayPal account. To transfer your paid items to your My World account and connect your PayPal account to your My World account, please click the button below to be taken to the PayPal site to validate your credentials."
    These are problems that just shouldn't be happening. Don't tell me I have a PayPal account when I do not.
    At this point I don't see a way to proceed without creating a PayPal account... is it the case that Blackberry App World is unusable without a PayPal Account?
    If there is a way to proceed without a PayPal account I would love to know what that is.
    If there is not, then why don't you just say, "You must create a PayPal Account to use BlackBerry App World"?
    Let me know which it is. Thanks.

  • Troubles With Jam Pack WORLD MUSIC

    When I try to install it, it starts fine but half way through the installation an error pops up saying
    THERE WERE ERROR INSTALLING THE SOFTWARE
    Please try installation again
    I've tried 50 times and even copied the file to my HD and tried to install it again and it says the same
    so i'm wondering if there is another way to make this work do i have to return this crappy DVD
    stash

    You may have a problem with your DVD. There may be a corrupt spot on it. My DVD installed no problem.
    Mind you, considering that the installer copied to your hard drive without coughing up an error, you may want to try the usual Mac voodoo (repairing permissions, check disk integrity, etc) before trying another DVD.
    Has your drive been able to read dual layer DVD's okay?
    jord

  • Trouble with Flash Player update download and install

    I have not been able to download or install the Flash Player updates for some time now. I have done all the checking and double checking and adjusting multiple times without success. What keeps blocking it is my Antivirus/Firewall (Bitdefender) and no matter what I do it still blocks it as a detected threat. I have tried turning off the firewall. After many attempts with that and failing I then in desperation turned off the antivirus part as well with no improvement. Obviously I have now turned it all back on for protection and have run scans. I am in desperate need of help in getting this resolved as I am now having increasing issues with performance of various things. I will greatly appreciate any help.

    [discussion moved to Using Flash Player forum]

  • Trouble with wireshark-svn when python is installed

    Package in question: http://aur.archlinux.org/packages.php?ID=28874
    When building on a system with only python2 installed and no python (v3) the above package compiles just fine. However on my system that has both pythong2 installed as well as python, it fails. Ive tried using flags and options like --with-python=/usr/bin/python2 etc, but i still get this error during the "make" phase of the build.
    libtool: link: ( cd ".libs" && rm -f "libdfilter.la" && ln -s "../libdfilter.la" "libdfilter.la" )
    make[3]: Leaving directory `/tmp/wireshark-svn/src/wireshark-build/epan/dfilter'
    Making all in dissectors
    make[3]: Entering directory `/tmp/wireshark-svn/src/wireshark-build/epan/dissectors'
    /usr/bin/python ../../tools/ncp2222.py -o packet-ncp2222.c
    File "../../tools/ncp2222.py", line 207
    if highest_var > global_highest_var:
    ^
    TabError: inconsistent use of tabs and spaces in indentation
    make[3]: *** [packet-ncp2222.c] Error 1
    make[3]: Leaving directory `/tmp/wireshark-svn/src/wireshark-build/epan/dissectors'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/wireshark-svn/src/wireshark-build/epan'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/wireshark-svn/src/wireshark-build'
    make: *** [all] Error 2
    Any recommendations on how to fix this? Am i overlooking an option to force python2, should i do some env hacks to redirect any reference to /usr/bin/python to /usr/bin/python2? What would be "the arch way" for fixing this?

    I found that using find and sed i can replace all instances of /usr/bin/python to /usr/bin/python2 in all the Makefiles that get produced, however during the build i now get the error
    ./faq.py >faq.txt.tmp && \
    (( which elinks > /dev/null && elinks -dump -dump-width 72 -no-numbering -no-references < faq.txt.tmp > faq.txt ) || \
    ( which links > /dev/null && links -width 72 -html-numbered-links 0 -dump faq.txt.tmp > faq.txt ) || \
    ( which lynx > /dev/null && lynx -dump -width=72 -nolist -stdin -force-html < faq.txt.tmp > faq.txt ) || \
    ./../tools/html2text.py --width=72 --no-links faq.txt.tmp > faq.txt ) && \
    rm -f faq.txt.tmp
    File "./faq.py", line 48
    print "<a href=#sec%s><h%d>%s:</h%d></a>\n" % (self.get_num_string(), self.get_header_level(), self.get_num_name(), self.get_header_level())
    ^
    SyntaxError: invalid syntax
    make: *** [faq.txt] Error 1
    Sticking ()'s around what is being printed seems to fix it  - but i shouldnt have to do that to every print in the 2000+ lined file. Im not a python guy - any quick fixes come to mind to anybody?
    EDIT:
    Currently working with this PKGBUILD:
    http://paste.pocoo.org/raw/320255/
    Last edited by ptchinster (2011-01-13 22:33:36)

  • Trouble with Adobe Flash 11 functioning after install

    After installing Adobe Flash Player 11 and receiving confirmation, it still will not function when trying to view video. Have removed previous program, followed instructions and tried install several times and still no luck.

    http://forums.adobe.com/thread/1195540

  • Troubles with update mechanism in Photoshop CS6 installing Camera Raw 7.3 update

    Greetings,
    Attempted an update using the update mechanism from Bridge.  CS6 Design Premium on Mac.  Received a couple error messages when it completed.  Foolishly I did not write down the details. I thought I could just run the update again.  When I attempted this, received mesage saying I was updated. But when I use Camera Raw plug-in within Bridge, it says I am still using version 7.2...
    How may I attain a sucessful Camera Raw 7.3 upgrade?
    I also use Lightroom which sucessfully upgraded,to 4.3 (with Camera Raw 7.3), but I often too use the Camera Raw Plug-in from within Bridge and would like to be on the same 'level'.
    I thank you for any insight.
    Best regards,
    Alan

    Hi there! Because the forum you originally posted in is for beginners trying to learn the basics of Photoshop, I moved your question to the Camera Raw forum, where you'll get more specialized help.

  • Trouble with css borders- won't show in browser

    When I link my external style sheet, my borders work when I preview them in ie, but when I put my site (including the external style sheet) I cannot see the borders. My borders are around tables and inside tables and around images. In some docs, the css border will show if I attach it to the doc, but if I make the css an external style sheet, it won't work. Any suggestions?
    Thank You!

    BossDJ is just asking for a link to your page.  Do you have it uploaded anywhere?  Even if it's not a good looking page, it might be the easiest way for you to get help.
    From what you say, I would guess the problem might be the way you are linking to your external style sheet.
    Try looking in the head of your document and copy the code for that into the forum post.
    <link href="../css/contact.css" rel="stylesheet" type="text/css" media="all" />
    That's an example of a link to a style sheet in one of my pages.  It's the red part that might be going wrong for you.
    Martin

  • Trouble with SuperDrive: disks won't eject, "felt" peeling

    It appears as though the slot in my computer and the SuperDrive itself are misaligned, making it hard for me to eject disks. Note that the disks mount when they're inserted.
    Additionally, the "felt" or lining around the slot is coming off.
    What should I do to get everything working again? Is there any way to fix these problems without having to spend a ton of money? I'm a college student and don't have much to spare.

    I am neither of those things, but I appreciate the link.
    I took the PowerBook to the Genius Bar today. The MacGenius told me the repair would likely be in the $600 range , so he recommended I simply look into purchasing an external CD/DVD drive from www.macsales.com. This one from OWC looks like a winner:
    http://eshop.macsales.com/item/Other%20World%20Computing/MRFWU2D112/

Maybe you are looking for

  • Error Message For BISystemUser: User not authenticated

    We have migrated from DEV to PROD env.(11.1.1.1 -> 11.1.1.3). Along problems with bipublisher - there are some strange thingths: we successfully loging using weblogic account into AdminConsole и Enterprise Manager, but in Answers we get an error: inv

  • Thumbnails in Elements 10 not linking to photos on correct Hard Drive

    I use two separate internal HD's.  Primary HD has a C and D partition.  Secondary HD has a E and F portition.  The secondary HD is meant as a internal backup for programs (E) and for songs, photos, and critical files (F).  On the primary HD, under th

  • Dark displays, now both internal and external

    I've occationally had problems with the display on my 17" MacBook Pro 2008 (Model A1261): sometimes the screen would not turn on. It started the first year I had it, but at the Apple store (when I got a bad key fixed) the repair man just said "Yeah,

  • Cache size  in cfg file& design aggregations

    Hi all Iam working in ASO for 11vny we are in production getting so many bugs plz can any on e tell me that wen they generate the reports its taking long time for many crossings, and for some reports its giving eror in OBI through essbase as per the

  • My PC won't boot up if the hub is already switched...

    My PC won't boot up if the hub is already switched on.  It gets as far as the desktop image and freezes up, [the icons never appear].  The only way I can get it to work is by removing the yellow plug from the hub after powering off the PC, and reinse