Advertisement
Guest User

Untitled

a guest
Oct 17th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. diger: olta_away: hi, how to use the package with the same name, but set in different locations, one in the system, the other in the home
  2. I need to use their own version of curl, but I can not remove curl installed in the system, because with it removes almost all of the packages
  3. http://pastebin.com/sM9j1j79
  4. OmniMancer: you need a different version?
  5. diger: yes
  6. OmniMancer: and the versions are incompatible?
  7. diger: incompatible with which...?
  8. OmniMancer: why can't it work with the installed version of curl?
  9. diger: I do not want to depend on how the packets are collected with haikuporter
  10. OmniMancer: I don't understand :/
  11. diger: ok
  12. can I remove stock curl package and use the custom one from the home directories? The problem is that an attempt to remove curl with pkgman show very log list of dependencies to remove - all haiku packages inlcuding system ones.
  13. PulkoMandy: diger: install the new one first
  14. OmniMancer: AFAIK packages in home don't affect the system folder :/
  15. PulkoMandy: but yes, you can't install it in home to use it from system
  16. because it would not be visible to other users then - the system couldn't even boot before you log in
  17. OmniMancer: PulkoMandy: can he put the curl in home and then the package that depends on it in home as well?
  18. diger: can you explain again why you can't use the system curl package?
  19. PulkoMandy: yes, but you wil end up moving like, the whole system to home
  20. if anything required to boot requires curl, you're going to break the system
  21. OmniMancer: PulkoMandy: I don't understand :/
  22. PulkoMandy: if you remove the system curl, you have to remove all its dependencies from system/
  23. that is likely to include some things that are required to boot
  24. that being said, if you add another curl package in home/ without removing the original one, that should work
  25. the problem then is that gcc won't look in home for libs nad headers
  26. so you have to adjust -I and -L options so it finds that
  27. once everything is compiled it should be ok
  28. also... what about we update the curl we provide if there's a newer version ?
  29. diger: how update package?
  30. i have in repo curl v.7.31.0, in system v.7.26.0
  31. OmniMancer: PulkoMandy: I was asking about the case where you add another package to home
  32. PulkoMandy: diger: just drop it in /boot/system/packages
  33. diger: ooo
  34. PulkoMandy: OmniMancer: well, just adding has no problem, packages in system just won't see it
  35. diger: haikuway
  36. PulkoMandy: yes, all the pkgman stuff is just to make those linx users happy (and handle dependencies for packages that have some)
  37. otherwise it's just usual drag and drop
  38. the warning you saw when trying to remove curl from system will soon have a new option like 'install curl-vX.XX from HaikuPorts"
  39. so you will be able to drop a package you downloaded in the folder and let the package manager solve the dependencies for you
  40. diger: PulkoMandy: http://s5.hostingkartinok.com/uploads/images/2013/10/b8c4ac3d09497b75947b18d65576644d.png
  41. OmniMancer: pkgman also downloads things from the repo
  42. PulkoMandy: OmniMancer: yes, but not the package daemon
  43. diger: mh, interesting
  44. we have some too strict version checking somewhere then I think
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement