ioncube loader

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

Re: ioncube loader

Postby pepedog » Wed Aug 13, 2014 2:37 pm

You could look through this for old versions
http://rollback.archlinuxarm.org
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ioncube loader

Postby capchap » Wed Aug 13, 2014 2:59 pm

found downgrade in AUR, but since 5.3 has never been on this machine...

any other options?
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby pepedog » Wed Aug 13, 2014 4:04 pm

Yes, install and learn to use abs
abs gets all PKGBUILDs, edit PKGBUILD to version, generate mdsums, and build
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ioncube loader

Postby capchap » Wed Aug 13, 2014 4:17 pm

$this->bbcode_second_pass_quote('', 'Y')ou could look through this for old versions
http://rollback.archlinuxarm.org


I looked at the link and reviewed php and php-apache, but there is nothing older than 5.5.x and ioncube says I need 5.3. I didn't look at any of the other entries because I don't know what the others are for/do and probably will mess things up royal if I try to use them without guidance.

I did install abs and will endeavor to learn how to use it.
since there apparently isnt any 5.3 php versions in rollback, does that mean abs has no current value to me, or are there other resources available to abs?

Moonman has suggested I learn to use pkgfile...are they similar products or totally differnt useage?
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby WarheadsSE » Wed Aug 13, 2014 4:20 pm

wiki time.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ioncube loader

Postby capchap » Wed Aug 13, 2014 5:55 pm

could you please be just a little more specific?
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby capchap » Wed Aug 13, 2014 6:40 pm

OK, tried wiki pkg and found 500 pages
tried abs and found one page; EURICA!

abs says I should have /var/abs, and I do
It says I should have lots of subdirs, but I don't

I am guessing its because i never built anything.

so thats really cool... does this mean I can build a php version 5.3 so I can run ioncube, or does this mean I can ask ioncube for the sourcecode and build a version for my current system?

how do I take advantage of this tool?
is there someplace I can see an existing build script for something so I can better understand its use and liitations?

wiki entry says to use abs:
Run abs as root to create the ABS tree by synchronizing it with the Arch Linux server.
when I did this I received the following error messages:
[root@Jalepeno abs]# abs
==> Downloading tarballs...
==> core...
==> ERROR: Download failed
==> extra...
==> ERROR: Download failed
==> community...
==> ERROR: Download failed
==> multilib...
==> ERROR: Download failed
was I supposed to pass some options to abs, wiki didnt specify.
$this->bbcode_second_pass_code('', 'abs --help said abs -t sync using tarballs')
but produced the same errors

further reading says base-devel needs to be installed, which I thought was done, but that was previous to reinstalling from scratch,
so currently installing 25 new pakcages.
will try abs again once packages are installed.
however, installing base-devel did not help abs run without producing the same errors as above.

So, at this point I am at a loss as to how I am to use this tool

Could someone give me a heads-up as to why I am getting these error messages?
I would gusee because I've never built anything, but wiki would imply it would examine my existing system and sync abs source packages with my existing system resulting in a dir struct in /var/abs that mirrors the pakages...or something along those lines.
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby pepedog » Wed Aug 13, 2014 6:51 pm

I am going to tell you what to type, I'm not going to actually do this myself and there might be inaccuracies.

pacman -Syu
pacman -S base-devel abs
abs core
abs
cd /var/abs/extra/php
Now edit PKGBUILD with
nano PKGBUILD
After changing version and saving
makepkg -g --asroot >> PKGBUILD
makepkg -Acs --asroot

You might need a swapfile, use wiki
Then install what you need with
pacman -U filenameofpackage
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ioncube loader

Postby capchap » Wed Aug 13, 2014 8:20 pm

thanks, pepedog
I started that process and it did make my errors go away.
I'll proceed with caution because I'm not sure what will happen if i continue with the instructions you provided. although if something broke, I could always start from scratch.
so I'll do some more reading bearing in mind the next steps you provided as I read.

Your instructions were different than those on wiki, did I miss a step explained, or was it supposed to be intuitive.
The best I can tell, the -Syu option for pacman was the only difference; and possibly getting base-devel & abs at the same time.
I had already used pacman for installing base-devel (pacman said reinstalling or something like that), and since abs was generating errors, I had already installed that as well.

is $this->bbcode_second_pass_code('', 'pacman -Syu ')
something that should always be done before installing a new package.
kind-of makes sense if that's true, then the assumption would be user should know to do that before adding anything else even if instructions don't say it.

So back to my ioncube issue.
given that I am currently on php 5.5.15 and want to install ioncube that currently requires php 5.3:

is the idea behind abs that it can be used to build php from source so that I end up with a 5.3 version?
or is it more for building a custom ioncube loader from its source that would be compatible with php 5.5.15?

if it is for that, where do I find the actual source code for php? for ioncube?

as far as my objective: maybe abs the wrong direction?
Ioncube has already offered to make a custom build for use with a ???-chain. I forget what they called it, but I took it to mean that someone like the dev team with a compiler for archlinux would need to do this. are they talking about delivering source code or something else?

So I am now looking for guidance as to whether or not I am chasing an unsolvable problem with ioncube on archlinux.
or at least unsolvable without resources at dev-team level

thanks all,
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: ioncube loader

Postby capchap » Wed Aug 13, 2014 9:11 pm

what is the intention behind pacman -g --asroot >> PKGBUILD

not knowing what it would do to existing PKGBUUILD file (knowing that >> means redirect with append
i tried pacman -g --asroot >> trialrun
the command produced the following error
$this->bbcode_second_pass_quote('', '[')root@Jalepeno php]# pacman -g --asroot >> trialrun
pacman: unrecognized option '--asroot'

I checked pacman --help as well as man pacman and there isnt any --asroot options

I presume --asroot means just what it says, run the command as root. but if i'm logged in as root, then the command is unnecessary?
running the command with --asroot removed produces invalid option.
Possibly because man pacman says -g is associated with -S or -U (-R shouldn't apply as it is for 'remove')
I also tried
pacman -Sg >> trialrun
pacman -S -g >> trialrun
both produced the same error "Invalid option"

I've read man pages on pacman and need to know a little more about what the command is trying to do in order to figure out what the syntax might be.
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

PreviousNext

Return to ARMv5

Who is online

Users browsing this forum: No registered users and 3 guests