Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-29-2008, 01:17 PM
|
#1
|
|
Member
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Rep:
|
Trying to compile Glibc-2.7 with src2pkg-1.93 on Slamd64-current.
Does anyone know why this is the only output I get from running a compile of Glibc-2.7 with src2pkg-1.93. I am trying to create a generic build of Glibc for testing purposes. I also need to become aware of the intricacies of building Glibc. I am obviously missing something. So if someone can explain the proper way of writing my glibc.src2pkg file, I would really appreciate it.
EXTRA_CONFIGS='--enable-profile --with-tls --enable-add-ons --enable-kernel=2.6.23 --libexecdir=/usr/lib64/glibc'
What else do I need to add to this? Also, I would like to build glibc as one single package, with everything included in it.
./
bin/
bin/sln
etc/
etc/rpc
lib64/
lib64/ld-2.7.so
lib64/libc-2.7.so
lib64/libBrokenLocale-2.7.so
lib64/libm-2.7.so
lib64/libdl-2.7.so
lib64/libmemusage.so
lib64/libcrypt-2.7.so
lib64/libpthread-2.7.so
lib64/libresolv-2.7.so
lib64/libnss_dns-2.7.so
lib64/libanl-2.7.so
lib64/libnss_files-2.7.so
lib64/librt-2.7.so
lib64/libSegFault.so
lib64/libpcprofile.so
lib64/libthread_db-1.0.so
lib64/libnss_hesiod-2.7.so
lib64/libnsl-2.7.so
lib64/libnss_nis-2.7.so
lib64/libnss_nisplus-2.7.so
lib64/libnss_compat-2.7.so
lib64/libutil-2.7.so
sbin/
sbin/sln
sbin/ldconfig
usr/
usr/doc/
usr/doc/glibc-2.7/
usr/doc/glibc-2.7/BUGS
usr/doc/glibc-2.7/ChangeLog
usr/doc/glibc-2.7/COPYING
usr/doc/glibc-2.7/FAQ
usr/doc/glibc-2.7/INSTALL
usr/doc/glibc-2.7/NEWS
usr/doc/glibc-2.7/README
install/
install/slack-desc
install/doinst.sh
/usr/libexec/src2pkg/static/tar-1.13: glibc-2.7-x86_64-1DIST.tar is the archive; not dumped
Gzipping glibc-2.7-x86_64-1DIST.tar to glibc-2.7-x86_64-1DIST.tar.gz
Renaming glibc-2.7-x86_64-1DIST.tar.gz to glibc-2.7-x86_64-1DIST.tgz
Moving glibc-2.7-x86_64-1DIST.tgz to /usr/src/DIST/PACKAGES
Package Creation - Successful! - Package Location:
/usr/src/DIST/PACKAGES/glibc-2.7-x86_64-1DIST.tgz
|
|
|
|
01-30-2008, 09:47 AM
|
#2
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,591
|
I'll try to help you on this one within a couple of days.
|
|
|
|
01-30-2008, 01:25 PM
|
#3
|
|
Member
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761
Rep:
|
You probably _don't_ want to compile something like glibc with src2pkg - especially on Slamd64, where we're also doing the necessary magic to add in for 32 bit support.
In this case, you are better off just tweaking the glibc.SlackBuild as required to your needs.
|
|
|
|
01-31-2008, 12:10 AM
|
#4
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,591
|
I agree -sort of. When building gcc or glibc there are many tweaks which need to be done which don't fit into the 'normal' scheme of compiling and building packages. However, src2pgk works fine as a framework for making the build easier to script and repeat. I usually 'port' such builds to the src2pkg format by just commenting out a couple of the src2pkg commands for configuring, compiling and installing and paste in the code from the SlackBuild. Only minor modifications are needed to make this work and you can even create multiple packages from the same source tarball or one package from mulitple sources.
|
|
|
|
01-31-2008, 12:12 AM
|
#5
|
|
Member
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Original Poster
Rep:
|
Something else along the same line.
I've tried compiling ncurses with src2pkg. Each time I do, what I get is the source files being packed, instead of the files which have been compiled. Any ideas on how to change this outcome?
./
usr/
usr/bin/
usr/bin/ncurses/
usr/bin/ncurses/base/
usr/bin/ncurses/base/README
usr/bin/ncurses/base/lib_clear.c
usr/bin/ncurses/base/lib_clearok.c
usr/bin/ncurses/base/lib_echo.c
usr/bin/ncurses/base/lib_endwin.c
usr/bin/ncurses/base/lib_clreol.c
usr/bin/ncurses/base/lib_immedok.c
usr/bin/ncurses/base/lib_inchstr.c
usr/bin/ncurses/base/lib_isendwin.c
usr/bin/ncurses/base/lib_leaveok.c
usr/bin/ncurses/base/lib_scrollok.c
usr/bin/ncurses/base/lib_scrreg.c
usr/bin/ncurses/base/lib_nl.c
usr/bin/ncurses/base/memmove.c
usr/bin/ncurses/base/nc_panel.c
usr/bin/ncurses/base/lib_slkatr_set.c
usr/bin/ncurses/base/lib_slkatron.c
usr/bin/ncurses/base/lib_slkatrof.c
usr/bin/ncurses/base/lib_slkinit.c
usr/bin/ncurses/base/lib_slktouch.c
usr/bin/ncurses/base/lib_flash.c
usr/bin/ncurses/base/lib_winch.c
usr/bin/ncurses/base/lib_delwin.c
usr/bin/ncurses/base/lib_touch.c
usr/bin/ncurses/base/lib_slklab.c
usr/bin/ncurses/base/lib_scanw.c
usr/bin/ncurses/base/lib_delch.c
usr/bin/ncurses/base/lib_refresh.c
usr/bin/ncurses/base/lib_screen.c
usr/bin/ncurses/base/lib_slkcolor.c
usr/bin/ncurses/base/lib_window.c
usr/bin/ncurses/base/lib_clrbot.c
usr/bin/ncurses/base/lib_ungetch.c
usr/bin/ncurses/base/lib_overlay.c
usr/bin/ncurses/base/tries.c
usr/bin/ncurses/base/key_defined.c
usr/bin/ncurses/base/lib_insdel.c
usr/bin/ncurses/base/lib_slkatrset.c
usr/bin/ncurses/base/sigaction.c
usr/bin/ncurses/base/safe_sprintf.c
usr/bin/ncurses/base/lib_slkattr.c
usr/bin/ncurses/base/lib_colorset.c
usr/bin/ncurses/base/lib_insnstr.c
usr/bin/ncurses/base/vsscanf.c
usr/bin/ncurses/base/lib_newwin.c
usr/bin/ncurses/base/resizeterm.c
usr/bin/ncurses/base/lib_dft_fgbg.c
usr/bin/ncurses/base/lib_slk.c
usr/bin/ncurses/base/lib_move.c
usr/bin/ncurses/base/lib_scroll.c
usr/bin/ncurses/base/version.c
usr/bin/ncurses/base/lib_wattroff.c
usr/bin/ncurses/base/lib_wattron.c
usr/bin/ncurses/base/lib_insch.c
usr/bin/ncurses/base/lib_vline.c
usr/bin/ncurses/base/lib_beep.c
usr/bin/ncurses/base/lib_instr.c
usr/bin/ncurses/base/keyok.c
usr/bin/ncurses/base/MKunctrl.awk
usr/bin/ncurses/base/lib_initscr.c
usr/bin/ncurses/base/lib_bkgd.c
usr/bin/ncurses/base/lib_erase.c
usr/bin/ncurses/base/define_key.c
usr/bin/ncurses/base/lib_box.c
usr/bin/ncurses/base/legacy_coding.c
usr/bin/ncurses/base/lib_getstr.c
usr/bin/ncurses/base/lib_restart.c
usr/bin/ncurses/base/lib_newterm.c
usr/bin/ncurses/base/lib_mvwin.c
usr/bin/ncurses/base/lib_getch.c
usr/bin/ncurses/base/lib_hline.c
usr/bin/ncurses/base/keybound.c
usr/bin/ncurses/base/MKkeyname.awk
usr/bin/ncurses/base/lib_set_term.c
usr/bin/ncurses/base/lib_addstr.c
usr/bin/ncurses/base/lib_slkclear.c
usr/bin/ncurses/base/lib_addch.c
usr/bin/ncurses/base/MKlib_gen.sh
usr/bin/ncurses/base/lib_chgat.c
usr/bin/ncurses/base/lib_color.c
usr/bin/ncurses/base/lib_pad.c
usr/bin/ncurses/base/wresize.c
usr/bin/ncurses/base/lib_redrawln.c
usr/bin/ncurses/base/lib_mouse.c
usr/bin/ncurses/base/lib_slkrefr.c
usr/bin/ncurses/base/lib_freeall.c
usr/bin/ncurses/base/lib_printw.c
usr/bin/ncurses/base/lib_slkset.c
usr/bin/ncurses/tinfo/
usr/bin/ncurses/tinfo/README
usr/bin/ncurses/tinfo/getenv_num.c
usr/bin/ncurses/tinfo/lib_longname.c
usr/bin/ncurses/tinfo/add_tries.c
usr/bin/ncurses/tinfo/MKnames.awk
usr/bin/ncurses/tinfo/MKcaptab.awk
usr/bin/ncurses/tinfo/lib_baudrate.c
usr/bin/ncurses/tinfo/lib_has_cap.c
usr/bin/ncurses/tinfo/lib_raw.c
usr/bin/ncurses/tinfo/doalloc.c
usr/bin/ncurses/tinfo/lib_ti.c
usr/bin/ncurses/tinfo/strings.c
usr/bin/ncurses/tinfo/lib_tputs.c
usr/bin/ncurses/tinfo/MKkeys_list.sh
usr/bin/ncurses/tinfo/setbuf.c
usr/bin/ncurses/tinfo/lib_termname.c
usr/bin/ncurses/tinfo/lib_cur_term.c
usr/bin/ncurses/tinfo/name_match.c
usr/bin/ncurses/tinfo/comp_expand.c
usr/bin/ncurses/tinfo/lib_kernel.c
usr/bin/ncurses/tinfo/lib_data.c
usr/bin/ncurses/tinfo/lib_nusr/bin/ncurses/tinfo/lib_tparm.c
usr/bin/ncurses/tinfo/parse_entry.c
usr/bin/ncurses/tinfo/home_terminfo.c
usr/bin/ncurses/tinfo/comp_hash.c
usr/bin/ncurses/tinfo/make_keys.c
usr/bin/ncurses/tinfo/comp_error.c
usr/bin/ncurses/tinfo/lib_acs.c
usr/bin/ncurses/tinfo/init_keytry.c
usr/bin/ncurses/tinfo/lib_options.c
usr/bin/ncurses/tinfo/free_ttype.c
usr/bin/ncurses/tinfo/comp_scan.c
usr/bin/ncurses/tinfo/alloc_ttype.c
usr/bin/ncurses/tinfo/comp_parse.c
usr/bin/ncurses/tinfo/MKfallback.sh
usr/bin/ncurses/tinfo/lib_setup.c
usr/bin/ncurses/tinfo/read_termcap.c
usr/bin/ncurses/tinfo/access.c
usr/bin/ncurses/tinfo/read_entry.c
usr/bin/ncurses/tinfo/hashed_db.c
usr/bin/ncurses/tinfo/lib_termcap.c
usr/bin/ncurses/tinfo/db_iterator.c
usr/bin/ncurses/tinfo/write_entry.c
usr/bin/ncurses/tinfo/lib_tgoto.c
usr/bin/ncurses/tinfo/lib_print.c
usr/bin/ncurses/tinfo/trim_sgr0.c
usr/bin/ncurses/tinfo/lib_ttyflags.c
usr/bin/ncurses/tinfo/captoinfo.c
usr/bin/ncurses/tinfo/alloc_entry.c
usr/bin/ncurses/trace/
usr/bin/ncurses/trace/README
usr/bin/ncurses/trace/trace_xnames.c
usr/bin/ncurses/trace/trace_tries.c
usr/bin/ncurses/trace/trace_buf.c
usr/bin/ncurses/trace/varargs.c
usr/bin/ncurses/trace/lib_tracechr.c
usr/bin/ncurses/trace/lib_tracemse.c
usr/bin/ncurses/trace/lib_trace.c
usr/bin/ncurses/trace/lib_tracedmp.c
usr/bin/ncurses/trace/visbuf.c
usr/bin/ncurses/trace/lib_traceatr.c
usr/bin/ncurses/trace/lib_tracebits.c
usr/bin/ncurses/tty/
usr/bin/ncurses/tty/tty_input.h
usr/bin/ncurses/tty/MKexpanded.sh
usr/bin/ncurses/tty/hardscroll.c
usr/bin/ncurses/tty/tty_display.h
usr/bin/ncurses/tty/lib_vidattr.c
usr/bin/ncurses/tty/hashmap.c
usr/bin/ncurses/tty/lib_tstp.c
usr/bin/ncurses/tty/lib_twait.c
usr/bin/ncurses/tty/tty_update.c
usr/bin/ncurses/tty/lib_mvcur.c
usr/bin/ncurses/README
usr/bin/ncurses/widechar/
usr/bin/ncurses/widechar/lib_vline_set.c
usr/bin/ncurses/widechar/lib_hline_set.c
usr/bin/ncurses/widechar/lib_erasewchar.c
usr/bin/ncurses/widechar/lib_box_set.c
usr/bin/ncurses/widechar/lib_pecho_wchar.c
usr/bin/ncurses/widechar/lib_in_wchnstr.c
usr/bin/ncurses/widechar/lib_get_wstr.c
usr/bin/ncurses/widechar/lib_inwstr.c
usr/bin/ncurses/widechar/lib_unget_wch.c
usr/bin/ncurses/widechar/lib_slk_wset.c
usr/bin/ncurses/widechar/lib_cchar.c
usr/bin/ncurses/widechar/charable.c
usr/bin/ncurses/widechar/lib_wunctrl.c
usr/bin/ncurses/widechar/lib_ins_wch.c
usr/bin/ncurses/widechar/lib_get_wch.c
usr/bin/ncurses/widechar/lib_in_wch.c
usr/bin/ncurses/widechar/lib_vid_attr.c
usr/bin/ncurses/widechar/lib_add_wch.c
usr/bin/ncurses/widechar/lib_wacs.c
usr/bin/ncurses/fifo_defs.h
usr/bin/ncurses/README.IZ
usr/bin/ncurses/SigAction.h
usr/bin/ncurses/modules
usr/bin/ncurses/Makefile.in
usr/bin/ncurses/llib-lncurses
usr/bin/ncurses/curses.priv.h
usr/bin/ncurses/llib-lncursesw
usr/bin/ncurses/Makefile
usr/bin/ncurses/names.c
usr/bin/ncurses/codes.c
usr/bin/ncurses/names-stamp
usr/bin/ncurses/make_hash
usr/bin/ncurses/comp_captab.c
usr/bin/ncurses/expanded.c
usr/bin/ncurses/fallback.c
usr/bin/ncurses/lib_gen.c
usr/bin/ncurses/keys.list
usr/bin/ncurses/lib_keyname.c
usr/bin/ncurses/link_test.c
usr/bin/ncurses/unctrl.c
usr/bin/ncurses/make_keys
usr/bin/ncurses/init_keytry.h
usr/doc/
usr/doc/ncurses-5.6/
usr/doc/ncurses-5.6/ANNOUNCE
usr/doc/ncurses-5.6/AUTHORS
usr/doc/ncurses-5.6/INSTALL
usr/doc/ncurses-5.6/MANIFEST
usr/doc/ncurses-5.6/NEWS
usr/doc/ncurses-5.6/README
install/
install/slack-desc
/usr/libexec/src2pkg/static/tar-1.13: ncurses-5.6-x86_64-1DIST.tgz.tar is the archive; not dumped
Gzipping ncurses-5.6-x86_64-1DIST.tgz.tar to ncurses-5.6-x86_64-1DIST.tgz.tar.gz
Renaming ncurses-5.6-x86_64-1DIST.tgz.tar.gz to ncurses-5.6-x86_64-1DIST.tgz
Moving ncurses-5.6-x86_64-1DIST.tgz to /usr/src/DIST/PACKAGES
Package Creation - Successful! - Package Location:
Shingoshi
I wrote this yesterday, and forgot to submit it. Talk about procrastination.
|
|
|
|
01-31-2008, 12:24 AM
|
#6
|
|
Member
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Original Poster
Rep:
|
Once again, I'm having to say thank you!
Quote:
Originally Posted by gnashley
I'll try to help you on this one within a couple of days.
|
Not to imply in anyway that I am tired of saying thanks. Because I realize that I have asked for a lot from you, and taken a good deal of your time. So the fact that you're still willing to help, is gratifying. I posted something after this original one. I forgot to post it right away. I think I was trying to figure some stuff out on my own. But that didn't get anywhere. So I am thinking that my learning whatever you will have to share, will help with that as well.
Thanks,
Shingoshi
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:00 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|