Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python26 and 27 do not compile on Ubuntu 11.11 #16

Closed
Diaoul opened this issue Nov 12, 2011 · 11 comments
Closed

python26 and 27 do not compile on Ubuntu 11.11 #16

Diaoul opened this issue Nov 12, 2011 · 11 comments
Assignees
Labels
framework request request for new package

Comments

@Diaoul
Copy link
Member

Diaoul commented Nov 12, 2011

make ARCH=88f6281 python26 returned this at the end :

 Failed to find the necessary bits to build these modules:
_bsddb             _hashlib           _tkinter        
bsddb185           bz2                dbm             
gdbm               linuxaudiodev      ossaudiodev     
sunaudiodev                                           
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
_curses_panel                                         

mkdir ./Lib/plat-linux3
cp ./Lib/plat-generic/regen ./Lib/plat-linux3/regen
export PATH; PATH="`pwd`:$PATH"; \
    export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
    export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
    export EXE; EXE=""; \
    cd ./Lib/plat-linux3;  ./regen
python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
/home/antoine/Documents/spksrc/spk/python26/work-88f6281/Python-2.6.6/python: 1: Syntax error: word unexpected (expecting ")")
@Diaoul
Copy link
Member Author

Diaoul commented Nov 12, 2011

Related to the shell I am using (zsh)
Works fine with bash

@Diaoul Diaoul closed this as completed Nov 12, 2011
@ghost ghost assigned Diaoul Nov 12, 2011
@Diaoul Diaoul reopened this Nov 12, 2011
@Diaoul
Copy link
Member Author

Diaoul commented Nov 12, 2011

In fact I could resume compilation but cannot start from scratches. Same bug.
BTW, the compiled Python is missing a lot of stuff so I think it wasn't complete when I resumed

@Diaoul
Copy link
Member Author

Diaoul commented Nov 12, 2011

Using Ubuntu 11.11

@zebulon501
Copy link
Contributor

I'm currently using Ubuntu 10.04 server for my dev VM, and every thing is fine. I did observe the same kind of thing on a 11.10 desktop. But I didn't took some time to investigate.

@Diaoul
Copy link
Member Author

Diaoul commented Nov 13, 2011

I'm trying Debian 6 (squeeze) which is the usual "standard" distrib for all compilation stuff

@Diaoul
Copy link
Member Author

Diaoul commented Nov 13, 2011

Solved with Debian 6

@Diaoul Diaoul closed this as completed Nov 13, 2011
@zebulon501
Copy link
Contributor

I think this could be left opened, as it denotes some instabilities in the build framework.

@Diaoul
Copy link
Member Author

Diaoul commented Nov 15, 2011

Well, the build framework is fine IMO as long as it works in a standard distrib (like Debian 6).
I wonder if its the framework's fault or a bug in latest Ubuntu releases

@Diaoul
Copy link
Member Author

Diaoul commented Nov 15, 2011

Reopend with framework an Request labels

@Diaoul Diaoul reopened this Nov 15, 2011
@Diaoul
Copy link
Member Author

Diaoul commented Feb 18, 2012

@Diaoul
Copy link
Member Author

Diaoul commented Feb 23, 2012

I searched again for how to solve this but it gaves me headaches.
Just use a standard distrib like Debian, works fine.

I say if one wants to be able to compile python with spksrc on standard Ubuntu distrib then one should fix this.

@Diaoul Diaoul closed this as completed Feb 23, 2012
GuillaumeSmaha pushed a commit to GuillaumeSmaha/spksrc that referenced this issue May 20, 2016
…update-x264-download

For x264 : Replace git repository by bz2 file and avoid to download it each time
march42 pushed a commit to march42/synocommunity-spksrc that referenced this issue Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework request request for new package
Projects
None yet
Development

No branches or pull requests

2 participants