You are not logged in.
Hi,
Just switched from Ubuntu and trying to dig into pacman, ABS and AUR with some luck (still not enough).
I've just managed to downgrade boost from 1.60 to 1.54 (running "pacman -U <package.xz>" first on boost-libs then on boost package) but I'm still missing some like libboost_date_time.so.1.54.0. Where can I get them from? How can I install them?
Thanks for help!
Last edited by fakirinho (2016-03-21 21:59:40)
Offline
Can we start with "why do you want to downgrade boost, and what is your actual objective"?
What is wrong with the current version of boost?
Note: Arch Linux officially un-supports partial upgrades.
If you need an old version of boost to work with an old version of some software, then say so -- also, the appropriate way to do this is via a "boost-oldver" package built against the current system.
Last edited by eschwartz (2016-03-21 22:14:08)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
You have just switched and you are already trying to install older software o_0
What problem are you trying to solve?: https://wiki.archlinux.org/index.php/Sy … nsupported
Offline
Haven't expected so much fuss about it. To say the least: my current work env doesn't allow me to use other version of boost. I need to run some proprietary SW locally and it requires this specific version of boost. I know that the best solution would be to have it compiled/linked against newest boost but that's currently out of my reach. Also I need to write bits of SW here and there without possibility to choose boost version.
Sometimes things like that happen and you just can't help it.
edit: I'm also fine with downgrading boost for some short period and then switching back to newest available when I'm done in this "not-so-flexible" area of development.
Last edited by fakirinho (2016-03-21 22:20:48)
Offline
So copy the PKGBUILD for boost from the ABS, give it a new name and tell it to compile the old version and install the libs without the symlinks.
Keeping the old version of boost will tend to break any software you install from the repos which depends on and links against the newer version of boost.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
well, that's what I did in first place, before posting here, and ended up with following command: makepkg -sr --skipchecksums --noprepare
checksum in PKGBUILD is set for 1.60, so skipping seems reasonable, --noprepare added as some nvidia cuda patch fails being applied on 1.54, valid for 1.60 probably.
result was following:
...
==> Extracting sources...
-> Extracting boost_1_54_0.tar.bz2 with bsdtar
==> Starting build()...
Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86_64/b2
Detecting Python version... 2.7
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... /usr
Generating Boost.Build configuration in project-config.jam...
Bootstrapping is done. To build, run:
./b2
To adjust configuration, edit 'project-config.jam'.
Further information:
- Command line help:
./b2 --help
- Getting started guide:
http://www.boost.org/more/getting_started/unix-variants.html
- Boost.Build documentation:
http://www.boost.org/boost-build2/doc/html/index.html
install: cannot stat 'tools/build/src/engine/bin.linuxx86_64/b2': No such file or directory
==> ERROR: A failure occurred in build().
Aborting......but to quote it here, started digging deeper into PKGBUILD and I modified one of the paths inside it (used absolute path to "b2" instead of relative one) and it seems it's building right now. will update with info if date_time libs are there as well when it's done ![]()
Offline
no luck:
...failed gcc.compile.c++ bin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi/instantiate_re2c_lexer_str.o...
gcc.compile.c++ bin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi/token_ids.o
gcc.compile.c++ bin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi/wave_config_constant.o
common.mkdir bin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi/cpplexer
common.mkdir bin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi/cpplexer/re2clex
gcc.compile.c++ bin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi/cpplexer/re2clex/aq.o
gcc.compile.c++ bin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi/cpplexer/re2clex/cpp_re.o
...skipped <pbin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi>libboost_wave.a(clean) for lack of <pbin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi>instantiate_cpp_exprgrammar.o...
...skipped <pbin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi>libboost_wave.a for lack of <pbin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi>instantiate_cpp_exprgrammar.o...
...skipped <p/home/stawka/Downloads/ABS/boost/src/stagedir/lib>libboost_wave.a for lack of <pbin.v2/libs/wave/build/gcc-5.3.0/release/link-static/threading-multi>libboost_wave.a...
...failed updating 30 targets...
...skipped 33 targets...
...updated 11781 targets...
==> ERROR: A failure occurred in build().
Aborting...how to properly build boost 1.54.0?
Offline
I would check the ABS svntogit history to see what the PKGBUILD was back in 2013, there seems to have been rather a lot of changes actually.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
I would check the ABS svntogit history to see what the PKGBUILD was back in 2013, there seems to have been rather a lot of changes actually.
thanks
from the commit log it looks like whole lot of changes. As far as I understand, I need to revert only PKGBUILD to match the one from the time when 1.54 was the proper version. I will try to do this, but still I would appreciate a brief explanation of what is svntogit/packages.git repo or, to be more precise, what is it's purpose.
Can I just simple get a link to the boost ABS repo, where I would be able to checkout proper commit?
Offline
No, ABS is rsync'ed daily, so it only contains current PKGBUILDS.
The packages.git repo contains the git history for each package, so you should be able to dig up an older PKGBUILD there. You might be better off, given the pain you will have to go through to get it to compile, to run a VM with Debian or RH or whatever distro/version your work uses.
Offline
No, ABS is rsync'ed daily, so it only contains current PKGBUILDS.
The packages.git repo contains the git history for each package, so you should be able to dig up an older PKGBUILD there. You might be better off, given the pain you will have to go through to get it to compile, to run a VM with Debian or RH or whatever distro/version your work uses.
By "reverting" I've meant "get it in proper version and save somewhere else". Anyway, obtained proper PKGBUILDS from svntogit (as web interface offers tar.gz-s as well) - still no luck, then downgraded gcc and it progresses much further but still not there. But downgrading gcc smells fishy to me... I need to rethink all this, again. Although I think that I will stick to my current OS, as I find pacman, AUR and ABS pretty nice ![]()
Also, finally, after talking to my friends at workplace I've found a way on how to overcome this. I must admit, I'm pretty ashamed right now, so the only thing I'll say is that solution was as simple as exporting LD_LIBRARY_PATH. Hooray! Back to most recent updates ![]()
Offline