LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-29-2008, 02:17 PM   #1
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
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
 
Old 01-30-2008, 10:47 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
I'll try to help you on this one within a couple of days.
 
Old 01-30-2008, 02:25 PM   #3
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
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.
 
Old 01-31-2008, 01:10 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
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.
 
Old 01-31-2008, 01:12 AM   #5
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Original Poster
Rep: Reputation: 34
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.
 
Old 01-31-2008, 01:24 AM   #6
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Original Poster
Rep: Reputation: 34
Once again, I'm having to say thank you!

Quote:
Originally Posted by gnashley View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't compile libghttp on Slamd64 Linux.tar.gz Slackware 2 11-02-2007 01:39 PM
[SOLVED] Can't compile alltray on Slamd64 Linux.tar.gz Slackware 5 10-23-2007 02:11 PM
upgrading glibc in current Drone4four Slackware 28 06-10-2007 02:34 AM
[SOLVED] Installind Slamd64-current. "cannot execute binary file" message about installpkg BrutalMusic Slackware - Installation 1 05-11-2006 10:35 AM
Is slamd64 worth removing slackware current? cheater1034 Slackware 4 06-13-2005 06:50 AM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration