Author Topic: compiler error  (Read 1488 times)

Markanees

  • Full Member
  • ***
  • Posts: 223
  • Reputation: 15
  • +1 would be appreciated
  • Computers: Dell inspiron 1520
  • iDevices: ipad 2 ios 5.1.1
compiler error
« on: January 01, 2013, 06:18:02 am »
do anyone know how to fix this ?

Alex47

  • Hero Member
  • *****
  • Posts: 1370
  • Reputation: 48
  • (I can't think of something funny to go here)
  • Computers: Asus k55v, custom built self-acclaimed tank of a pc
  • iDevices: iPhone 3G, iPod touch 4g, iPod touch 2g
Re: compiler error
« Reply #1 on: January 01, 2013, 06:48:15 am »
Do you actually need to compile anything, Pyton is an interpreted language, so no compiling is needed. Try just running setup.py
My Number:00110110 00110110 00110110

Markanees

  • Full Member
  • ***
  • Posts: 223
  • Reputation: 15
  • +1 would be appreciated
  • Computers: Dell inspiron 1520
  • iDevices: ipad 2 ios 5.1.1
Re: compiler error
« Reply #2 on: January 01, 2013, 07:00:30 am »
I am trying to install the module by
python setup.py install

Alex47

  • Hero Member
  • *****
  • Posts: 1370
  • Reputation: 48
  • (I can't think of something funny to go here)
  • Computers: Asus k55v, custom built self-acclaimed tank of a pc
  • iDevices: iPhone 3G, iPod touch 4g, iPod touch 2g
Re: compiler error
« Reply #3 on: January 01, 2013, 08:25:54 am »
Just cd to its directory and run:
Code: [Select]
Python setup.pyif that doesn't work run
Code: [Select]
./setup.py
What is it your tryin to get? I could take a look at it?
My Number:00110110 00110110 00110110

Markanees

  • Full Member
  • ***
  • Posts: 223
  • Reputation: 15
  • +1 would be appreciated
  • Computers: Dell inspiron 1520
  • iDevices: ipad 2 ios 5.1.1
Re: compiler error
« Reply #4 on: January 01, 2013, 08:54:11 am »
both didn't work
i am trying to install pycrypto module

Don't like seeing ads? Click here to register!

Alex47

  • Hero Member
  • *****
  • Posts: 1370
  • Reputation: 48
  • (I can't think of something funny to go here)
  • Computers: Asus k55v, custom built self-acclaimed tank of a pc
  • iDevices: iPhone 3G, iPod touch 4g, iPod touch 2g
Re: compiler error
« Reply #5 on: January 01, 2013, 09:16:32 am »
You need gcc and 'compile c apps iOS 4' from cydia. Just search for gcc, then search for compile c apps iOS 4 and don't worry it works on iOS 5 aswell
My Number:00110110 00110110 00110110

Markanees

  • Full Member
  • ***
  • Posts: 223
  • Reputation: 15
  • +1 would be appreciated
  • Computers: Dell inspiron 1520
  • iDevices: ipad 2 ios 5.1.1
Re: compiler error
« Reply #6 on: January 01, 2013, 09:40:13 am »
i have libgcc from radare repo and gcc from saruik's i think i have all the lib needed
tried ( compile c ios4 + iphone-gcc )but it makes the same error

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: compiler error
« Reply #7 on: January 01, 2013, 09:54:41 am »
Code: [Select]
--host=arm-apple-darwin
try appending that to your command, you will need to codesign with ldid after compilation.

Markanees

  • Full Member
  • ***
  • Posts: 223
  • Reputation: 15
  • +1 would be appreciated
  • Computers: Dell inspiron 1520
  • iDevices: ipad 2 ios 5.1.1
Re: compiler error
« Reply #8 on: January 01, 2013, 10:07:15 am »
if you mean
python setup.py install --host=arm-apple-darwin
 that didn't start the setup
option --host not recognized

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4018
  • Reputation: 217
  • Badges:
Re: compiler error
« Reply #9 on: January 01, 2013, 11:05:34 am »
I already ported pycrypto a while ago. Ill package it up. Give me a bit, gotta re-read on creating debs. Been a while.

Don't like seeing ads? Click here to register!

Markanees

  • Full Member
  • ***
  • Posts: 223
  • Reputation: 15
  • +1 would be appreciated
  • Computers: Dell inspiron 1520
  • iDevices: ipad 2 ios 5.1.1
Re: compiler error
« Reply #10 on: January 01, 2013, 11:41:56 am »
thanks a12 :)

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4018
  • Reputation: 217
  • Badges:
Re: compiler error
« Reply #11 on: January 05, 2013, 08:04:47 am »
Im sorry this is taking so long. I have the deb in my FTP but uploading it to the repo is proving tohave some issues. Ill let you know when it works out alright?

grinch

  • Administrator
  • Hero Member
  • *****
  • Posts: 1933
  • Reputation: 188
  • the digital grinch who stole your data
    • @DigitalGrinch
  • Badges:
  • iDevices: iPhone 3GS 4.3.3, HTC Evo V 4G ICS
Re: compiler error
« Reply #12 on: January 05, 2013, 08:43:32 am »
? It worked when we tested it earlier this week...
If I help you or you appreciate my work, clicking that +1 button is the best thanks I could get.

My opinions are my own, you may agree or disagree with them, but they are only just that; opinions
For example: facebook is the microsoft of social networks

http://goo.gl/PiVjI

@DigitalGrinch
https://twitter.com/DigitalGrinch

I follow all iNinjas members back. PM me if I am not following you

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4018
  • Reputation: 217
  • Badges:
Re: compiler error
« Reply #13 on: January 05, 2013, 09:11:47 am »
I just refreshed Cydia and its not on the repo, but the deb exists. http://ininjas.com/repo/debs/com.a12danrulz.pycrypto.deb So I just checked the Packages file, and it didnt get updated with the information for my deb.
« Last Edit: January 05, 2013, 09:34:36 am by A12danrulz »

grinch

  • Administrator
  • Hero Member
  • *****
  • Posts: 1933
  • Reputation: 188
  • the digital grinch who stole your data
    • @DigitalGrinch
  • Badges:
  • iDevices: iPhone 3GS 4.3.3, HTC Evo V 4G ICS
Re: compiler error
« Reply #14 on: January 05, 2013, 10:13:48 am »
Ah, so the copy to repo works, but the update script is not updating. I'll have to ask Trcx about that, its his. Or I can probably take a look next week
If I help you or you appreciate my work, clicking that +1 button is the best thanks I could get.

My opinions are my own, you may agree or disagree with them, but they are only just that; opinions
For example: facebook is the microsoft of social networks

http://goo.gl/PiVjI

@DigitalGrinch
https://twitter.com/DigitalGrinch

I follow all iNinjas members back. PM me if I am not following you