Cannot build gettext from ABS (gets undeclared here)
Greetings,
I am trying to build the gettext package from ABS and receive a compiler error "'gets' undeclared here". Also, I'm building for atom on an x86_64 machine
pkgver is 0.18.1.1
My command is : makepkg -Af --nocheck
Here is the output at the build break:
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -march=atom -mtune=atom -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c -o malloca.o malloca.c
In file included from fwriteerror.h:40:0,
from fwriteerror.c:21:
./stdio.h:456:20: error: ‘gets’ undeclared here (not in a function)
make[5]: *** [fwriteerror.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from closeout.c:22:0:
./stdio.h:456:20: error: ‘gets’ undeclared here (not in a function)
make[5]: *** [closeout.o] Error 1
In file included from localcharset.c:28:0:
./stdio.h:456:20: error: ‘gets’ undeclared here (not in a function)
make[5]: *** [localcharset.o] Error 1
make[5]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime/gnulib-lib'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime/gnulib-lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime/gnulib-lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
I have seen various reports of this same problem with other packages, such as grub, but couldn't apply the solution that was given there. Any ideas?
Thanks,
Brian Smith
WorMzy wrote:
bsmith_ati wrote:I have seen various reports of this same problem with other packages, such as grub, but couldn't apply the solution that was given there.
Why?
Because the solution for grub is specific to gnu-lib code contained in the grub source package.
http://lists.gnu.org/archive/html/grub- … iHYUrM.txt
I have looked at the stdio.h and stdio.in.h files that are shipped with gettext, and do not see directives similar to what are specified in the patch for grub.
Last edited by bsmith_ati (2012-09-29 21:38:55)
Similar Messages
-
Okay I copied /var/abs/extra/multimedia/vlc to ~/installs/, then I ran makepkg and this is the end of the long output as it was compiling:
http://pastebin.ca/885102 (look at the end, and it's too many characters for post on forum)
What might be wrong ??
Last edited by colbert (2008-01-30 19:31:35)no, you need to first recompile 'ffmpeg' from abs with --disable-swscaler flag. Check the PKGBUILD, u will see it is enabled, replace with disable. compile and install it using pacman -U.
then u take the PKGBUILD and patch from the archive I posted above and use makepkg to re-compile a patched vlc version so u can watch avi videos again. install that with pacman -U
your ffmpeg PKGBUILD will look like this
# $Id: PKGBUILD,v 1.30 2007/12/05 02:47:18 paul Exp $
# Contributor: Tom Newsom <[email protected]>
# Maintainer: Paul Mattal <[email protected]>
pkgname=ffmpeg
pkgver=20071204
pkgrel=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
arch=(i686 x86_64)
license=('LGPL')
depends=('lame' 'sdl' 'libvorbis' 'a52dec' 'faad2' 'faac' 'xvidcore' 'zlib' 'imlib2' 'x264>=20071201' 'libtheora')
source=(http://gerolde.archlinux.org/~paul/ffmpeg-$pkgver.tar.gz )
md5sums=('3d34e511d0466de6feabed85dddbb2a8')
url="http://ffmpeg.mplayerhq.hu/"
build() {
cd $startdir/src/$pkgname || return 1
# configure
./configure \
--prefix=/usr \
--enable-gpl \
--enable-libmp3lame \
--enable-libvorbis \
--enable-pp \
--enable-libfaac \
--enable-libfaad \
--enable-liba52 \
--enable-libxvid \
--enable-libx264 \
--enable-libtheora \
--disable-libamr-nb \
--enable-pp \
--enable-shared \
--enable-pthreads \
--enable-x11grab \
--disable-swscaler \
|| return 1
# build
make -j 2 || return 1
# install
mkdir -p $startdir/pkg/usr/{bin,include,lib} || return 1
make DESTDIR=$startdir/pkg install || return 1
Last edited by jacko (2008-01-30 20:51:41) -
I recently successfully installed Solaris 10 from the media kit on an x86 machine. I also successfully downloaded the JDS3 source tarballs and bunzip'd and untar'd them. I eventually figured out how to set my PATH (and LD_LIBRARY_PATH) environment variable up so that all the requisite tools for building JDS3 from source are in my path. However, I'm failing miserably when I try to use 'pkgbuild --rebuild /path/to/somepackage-src', as detailed in the instructions on building JDS3 from source. The errors I get depend on what package I try the pkgbuild on. I really only want to be able to peruse the source code (especially the GNOME sources included with the JDS3 source), so I would be happy just to get the "prep" or maybe the "compile" phases of pkgbuild to work, if not the entire rebuild. I have googled and visited solaris /jds forums for days, and have yet to discover any good information about how to build JDS3 from source on Solaris 10. Surely there are a bunch of people who successfully do this. Can anyone point me to some helpful info? Thanks in advance...
Hi,
I am using the macro _TARGET_PRODUCT_VERSION_ which yields major, minor, service and build version (but without the autoincrement) -
Cannot build awn from AUR ==SOLVED==
lo there all, seem to be having a bit o trouble installing the avant-window-navigator-bzr from AUR,
here is what i am getting
Checking for required M4 macros...
libtool.m4 not found
glib-gettext.m4 not found
intltool.m4 not found
pkg.m4 not found
***Error***: some autoconf macros required to build avant-panel-menu
were not found in your aclocal path, or some forbidden
macros were found. Perhaps you need to adjust your
ACLOCAL_FLAGS?
PKGBUILD: line 41: make: command not found
==> ERROR: Build Failed. Aborting...
i think i have all dependencies
[root@bitsbam nephish]
# pacman -S libtool glib2 intltool pkgconfig
:: libtool-1.5.24-2: local version is up to date. Upgrade anyway? [Y/n] n
warning: libtool-1.5.24-2 is up to date -- skipping
:: glib2-2.14.2-2: local version is up to date. Upgrade anyway? [Y/n] n
warning: glib2-2.14.2-2 is up to date -- skipping
:: intltool-0.36.2-1: local version is up to date. Upgrade anyway? [Y/n] n
warning: intltool-0.36.2-1 is up to date -- skipping
:: pkgconfig-0.22-2: local version is up to date. Upgrade anyway? [Y/n] n
warning: pkgconfig-0.22-2 is up to date -- skipping
local database is up to date
any tips would be much appreciated. thanks
Last edited by nephish99 (2007-11-18 09:52:00)byte, perfect, fixed, thanks !
-
[SOLVED] Cannot build openswan from AUR
Hello everybody,
I have an error when I try to upgrade openswan with yaourt/AUR (2.6.24-2 => 2.6.25-1) on a i686 arch install
This is the error :
make[3]: Entering directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs/addconn'
cc -c -fno-strict-aliasing -g -Werror -DKLIPS -DSCANDIR_HAS_CONST -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/pluto -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/ -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25 -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -DKLIPS -DNAT_TRAVERSAL -DNAT_TRAVERSAL -DKERNEL_ALG -DIKE_ALG -DFINALCONFDIR=\"/etc\" -DFINALCONFDDIR=\"/etc/ipsec.d\" -DFINALCONFFILE=\"/etc/ipsec.conf\" -DFINALVARDIR=\"/var\" -Werror /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/addconn.c
cc1: warnings being treated as errors
In file included from /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/addconn.c:51:0:
/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:37:19: error: comparison between 'enum keyword_string_config_field' and 'enum keyword_string_conn_field'
/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:38:19: error: comparison between 'enum keyword_numeric_config_field' and 'enum keyword_numeric_conn_field'
/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:39:34: error: comparison between 'enum keyword_string_config_field' and 'enum keyword_string_conn_field'
/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:40:34: error: comparison between 'enum keyword_numeric_config_field' and 'enum keyword_numeric_conn_field'
make[3]: *** [addconn.o] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs/addconn'
make[2]: *** [programs] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386'
make: *** [programs] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build openswan package.
Error: unable to update openswan
Following packages have not been installed:
openswan
Is a bug with the AUR package or is a problème on my install ?
Thx for the help.
Olive
Last edited by nolive (2010-05-05 06:58:38)ok, that's build when I comment this in /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/Makefile.program
# die if there are any warnings
ifndef WERROR
#WERROR:= -Werror
endif
And run the compile directly (not with yaourt or pkgbuild) with
sudo make programs install
in /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25
But my ipsec VPN don't work :
sudo ipsec auto --up toto
003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in main_outI1. Errno 22: Invalid argument
104 "toto" #1: STATE_MAIN_I1: initiate
010 "toto" #1: STATE_MAIN_I1: retransmission; will wait 20s for response
003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in EVENT_RETRANSMIT. Errno 22: Invalid argument
010 "toto" #1: STATE_MAIN_I1: retransmission; will wait 40s for response
003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in EVENT_RETRANSMIT. Errno 22: Invalid argument
Thank's for your help. I haven't the skills for checking the code. -
[Solved] Bug(?) regarding building glibc from abs.
/svc_auth.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > /home/utops/arch/glibc/src/glibc-build/begin-end-check.out
make[1]: Obiekt `check' nie został wykonany z powodu błędów.
make[1]: Opuszczenie katalogu `/home/utops/arch/glibc/src/glibc-2.16.0'
make: *** [check] Błąd 2
==> BŁĄD: Wystąpił błąd w check().
Przerywam...
First time i compiled it on initscript without problem,now this ^
CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
#CFLAGS="-march=native -O3 -pipe"
#CXXFLAGS="-march=native -O3 -pipe"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j3"
This is also happening on "-march=i686 -mtune=generic"
So,bug?
Last edited by utops (2012-10-09 21:16:42)Oops,sorry for that language blooper.
I sniff up some google search and find this:
rpc/types.h sunrpc/rpc/svc_auth.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h \
sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h \
termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h \
time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > \
/sources/glibc-build/begin-end-check.out
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.12.1'
make: *** [check] Error 2
This snippet came from LFS help desk,but error is identical to mine on arch.
Guy from help desk say to ignore it,but this error just brake the compiling process.
Edit:
g++ -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=ld-new -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -o ld-new main.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o libgold.a ../libiberty/libiberty.a -lpthread -ldl -lz
g++ -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=incremental-dump -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -o incremental-dump incremental-dump.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o libgold.a ../libiberty/libiberty.a -lpthread -ldl -lz
make[4]: (leaving directory) Opuszczenie katalogu `/home/utops/arch/binutils/src/gold'
make[3]: Opuszczenie katalogu `/home/utops/arch/binutils/src/gold'
make[2]: Opuszczenie katalogu `/home/utops/arch/binutils/src/gold'
make[1]: Opuszczenie katalogu `/home/utops/arch/binutils/src'
make: *** [all] Błąd 2 (Error 2)
Binutils ^
It's systemd problem?
Binutils build succefully on initscripts week ago IIRC.
Last edited by utops (2012-10-07 12:15:08) -
Cannot open document from SharePoint site
Hi All,
Randomly, I got this error when I trying to open a document from SharePoint sites like 'https://sharepoint.partners.extranet.***.com/'. When issue happend, all document cannot be opened from this
site. Here is the Error message snapshot:
'sorry, we cannot open 'https://..... ' because the server isn't responding'
Notes:
1) The issue only happend to this site and it's children sites.
2) If you click the button 'Try Again', the issue will be fixed, but later (several hours/days), the same issue happend again.
3) When issue happenend, other accounts can still open the files. The same account can open docs as well from other machines. But the issue is not related to this account and this machine because I can repro the issue from other machines.
The issue happend more than 1 year, if you can share something insight that will very helpful. Thank you!Hi,
Please add the URL of the SharePoint site to the list of trusted sites in your browser and check if that helps.
Cheers,
Daniel
Daniel Bugday
Microsoft Community Answerer, Member of Microsoft Extended Expert Team, MCT, MCTS/MCPD SharePoint 2007/2010, SQL MCDBA, MCSE
Blog: SharePoint By Bugday
Contact:
Please remember to mark your question as "answered" if this solves your problem -
Scripts I use to update my system from ABS
Banged some scripts together to update from ABS and sharing them cause I like them - they work together or separate.
gather abs directories into ~/abs directory:
#!/usr/bin/perl
my @upgradelist;
system ("sudo pacman -Sy");
system ("sudo abs");
open FH, "pacman -Qqu |";
while (<FH>){
chomp $_;
if (-d "/var/abs/core/$_") {system ("cp -R /var/abs/core/$_/ /home/poiuyt/abs/ ");}
if (-d "/var/abs/community/$_") {system ("cp -R /var/abs/community/$_/ /home/poiuyt/abs/ ");}
if (-d "/var/abs/extra/$_") {system ("cp -R /var/abs/extra/$_/ /home/poiuyt/abs/ ");}
DL and make the ABS packages from the ~/abs directory:
GNU nano 2.2.6 File: makepackages.pl
#!/usr/bin/perl
$absdir = $ENV{"HOME"}."/abs";
opendir (DIR, $absdir);
my @directory= readdir(DIR);
my $workingdir;
foreach (@directory){
# if ($file =~ m/^\./){
$workingdir = $absdir."/$_";
print "calling makepkg on $workingdir\n";
chdir ("$workingdir") or die "can't change directories";
system ("makepkg");
install packages in abs directory:
GNU nano 2.2.6 File: install.pl
#!/usr/bin/perl
$absdir = $ENV{"HOME"}."/abs";
opendir (DIR, $absdir);
my @directory= readdir(DIR);
my $workingdir;
foreach (@directory){
# if ($file =~ m/^\./){
$workingdir = $absdir."/$_";
print "calling pacman on $workingdir\n";
chdir ("$workingdir") or die "can't change directories";
system ("sudo pacman -U *.pkg.tar.xz");
Feel free to comment or improve as I willingly admit I am a crappy coder.
EDIT : My bad code was corrected - sorry was working on it today
Last edited by poiuyt23 (2013-12-17 05:35:21)Don't use pacman -Sy, use checkupdates
Don't run abs as root, use $ABSROOT, also you cam tell abs just what packages to download. As a sidenote, abs is often out of date, the gir repo is prefered.
And there already are several existing tools to build/update from abs, why not use one of those? -
I purchased an audio book from itunes and cannot figure out how to get it on my nano 7. I have tried everything.
Have you double checked to make sure these Audiobooks are configured to sync to your iPod from under the iPod's Books configuration tab in iTunes? This is assuming that the audiobooks are already stored in your iTunes library and appear under the Books category.
To access this configuration tab, plug in your iPod and select it from under the Devices section in the left hand pane of iTunes to bring yourself to the iPod's Summary tab. Now locate the Books tab across the top in the main iTunes window and select it. Here you can configure what and how audiobooks are synced to the device.
If you make any changes to this tab, make sure to hit the Apply button on in the lower right hand corner. This will sync the updated changes to your device.
B-rock -
IPod partially syncs & I get "Disk cannot be read from or written to"mssg.
Here's my initial problem:I think I Blew It. Tried to move iTunes from OS (C:) to DATA (D:). First I now realize that I should have come here first. But I didn't. I basically copied all of my iTune files into DATA (D:) and deleted them from OS (C:). Now when I open iTunes nothing is there. I left a couple of folders that wouldn't transfer from (C:) to (D:). One is a temp file 2, another is iTunes Music Library XML. doc. My iTunes music folder is empty and my iTunes library folder is pretty much empty too. The folders in DATA (D:) still have my 30 GB of music. So I wonder if I can undo this fiasco?
Here's where I am at today:Well I somehow got my library back. But I think I now have a couple copies of it on different drives. I configured the iTunes settings to feed off D drive but my problem now is I can't sync my ipod completely. I get the infamous "Disk cannot be read from or written to" when syncing iPod" message. I've tried restoring the ipod, creating a sync folder,checking and getting windows updates, and enabling the disc. I'm totally lost here.Please help all wise ones....Let me add the advice Polydorus gave me to get back library: http://discussions.apple.com/thread.jspa?threadID=1327455&tstart=0 You haven't give enough information to tell exactly what the problem is.
Did you copy the iTunes folder to the d: drive, this folder contains the library databases and the iTunes Music folder.
If you did that, you can try starting iTunes with the shift key held down, when asked to choose a library, navigate to the iTunes folder on the external drive and choose iTunes Library.itl.
This only works if you copied the iTunes folder and you had a default arrangement with all your music files in the iTunes Muisc folder in the iTunes folder.
If you didn't do that and you don't mind losing your counts, ratings and playlists you can do the following:
I am going to assume that you still have your iTunes folder on the c:drive. Close iTunes and drag iTunes Library.itl and iTunes Music library.xml out of the iTunes folder to the desktop.
Then open iTunes and an empty library is created, first go to Editit>>Preferences>>Advance>>Gneral and check that the location of the iTunes Music folder is correctly set, then add the iTunes Music folder to iTunes with File>>Add folder to library. If you have music in other folders, you add those too.
Note that these two possibilities do not cover all eventualities, you will need to explain exactly what you did for further advice. POST NOTE: I basically drug the libray to the desktop and opened iTunes with the shift key held down, when asked to choose a library, I did and it came back. -
I cannot play music from my itunes library. I keep getting an itunes message that says, “The song could not be used because the original file could not be found.” Is there a fix for this? Has this happened to anyone else? Is there a fix for this? Thank you.
Hello Turintest2,
I am having a similar problem. I have over 4000 songs giving me this error. I certainily don't want to go in one by one and find them. I know you wrote a script for Windows but I am a Mac user. Is there a fix for me? Here is the info on where the song is currently (used by doing the get info)
Here's a shot of my preferences:
Just FYI, I know that apparently iTunes is looking for this music in the trash. However, if I go here:
Then I find the music there as well. (Which is where it is in my preferences.)
Please help! I don't want to have to go through over 4000 songs and update them one by one. -
Building pidgin with meanwhile support from ABS failing
I've been building pidgin manually from ABS in order to incorporate meanwhile support for use on IBM Lotus Sametime. This entails editing pidgin's PKGBUILD and removing this line:
--disable-meanwhile \
Then I simply run `makepkg -si`. Recently (last week and after trying again today after a fresh pacman -Syu), I get this fail in the build:
Making all in sametime
make[5]: Entering directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple/protocols/sametime'
CC libsametime_la-sametime.lo
In file included from /usr/include/meanwhile/mw_srvc_conf.h:25:0,
from sametime.c:57:
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/meanwhile/mw_srvc_place.h:25:0,
from sametime.c:60:
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/meanwhile/mw_srvc_resolve.h:26:0,
from sametime.c:61:
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/meanwhile/mw_st_list.h:32:0,
from sametime.c:63:
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
sametime.c: In function 'blist_merge':
sametime.c:989:16: warning: variable 'buddy' set but not used [-Wunused-but-set-variable]
sametime.c: In function 'blist_node_menu_cb':
sametime.c:1340:16: warning: variable 'group' set but not used [-Wunused-but-set-variable]
sametime.c: In function 'mw_conf_peer_joined':
sametime.c:2033:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
sametime.c: In function 'mw_conf_peer_parted':
sametime.c:2059:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
sametime.c: In function 'mw_place_peerJoined':
sametime.c:3053:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
sametime.c: In function 'mw_place_peerParted':
sametime.c:3078:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
make[5]: *** [libsametime_la-sametime.lo] Error 1
make[5]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple/protocols/sametime'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple/protocols'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
If I build with --disable-meanwhile present, it succeeds. Something is occurring when I try to being in meanwhile support, which I believe entails libpurple integration.
Any suggestions on debugging further?You need to fix the source files with something like
sed -i 's|glib/*.h|glib.h|' src/*
There have been several similar errrors with builds of other packages. I don't know the details, but I gather glib has been revised such that there is now a single unified glib.h that should be included in source files.
EDIT: you'll have to edit the target files in the sed command as there is a deeper tree structure than src/*, but I'll let you sort that out. Once done, this sed command can be added to the PKGBUILD.
Last edited by Trilby (2012-05-08 18:39:40) -
Cannot build form off from view?
Is this true because when I try to Add a Page to a new application I dont seem to be able to see any of my views on the list of values but my tables. Opened up a TAR and here was the response
To implement the solution, please execute the following steps:
Use workaround listed in Bug 4719289 - CANNOT BUILD FORM OFF FROM VIEW
1. Create Application
2. Give Application a name, the "From Scratch" option is selected, our
desired
schema is selected.
3. Add Blank Page, select theme, etc, application is created.
4. From Blank page, Add Form Region based on existing table, followed the
resulting steps in the Wizard, etc.Please share your first name and put it into your profile to help us.
You can create a form based on ("off from") a view after an application is created using the create page or create region wizards.
Scott -
Cannot find row from context to build the RowKey
I have a table with 8 attributes!
6 attributes are varchar2(20), so the input is just in textfields, the other 2 are booleans varchar2(1)!
To select the boolean I made 2 comboboxes with the displayvalues Yes/No and datavalues Y/N!
When I change 1 of the 6 attributes with the textfield, everything goes fine, but when I want to edit 1 of the 2 boolean attributes I get the following error:
oracle.jbo.JboException: Cannot find row from context to build the RowKey
The strangest thing is that all the settings from the attributes are the same and also the code in the dataeditcomponent.
Does anyone knows what the error means and especially how to solve it!?
If I change a boolean value the change is saved, but the error comes before you can see the changes!Hi Steve,
thanks for your help.
These are my steps to build the application:
0.) JDev 904, WindowsXP, IE6.x, FireBird 0.7
1.) New Project and Wizard 'New Business Components Package',
only DeptImpl, default VO and default AppModule
2.) New Project, Wizard 'Complete Struts-Based JSP Application'
only default settings
3.) Customize config of AppModule: Referenced Pool Size = 1
4.) Start application, connect with two different browsers (IE and firebird)
5.) Browse page DeptView1_Browse with both browsers
1. Browser: Link Edit --> edit&update attribute Loc of Dept 10 (no commit)
2. Browser: Link Edit --> edit (no update) attribute Loc of Dept 20
6.) 2. Browser: update ==> Error Message: Cannot find row from context to build the RowKey
I have also tested JDev 9034/9033 with no error :-)
I have build the same application in JDev 10g with ADF (no migration from other projects)
and ran into another error message (same steps as above):
JBO-29000: Unexpected exception caught: java.lang.reflect.InvocationTargetException, msg=null
I don't know if my ADF-Struts project is assembled correctly but it works with just one session.
My intention to set Referenced Pool Size = 1 was to test my code against some session releated bugs.
I wanted to associate user information like name, role and PK with the SessionCookie instance (during login), via
SessionCookie.setUserData(myInfos). The Information is used in VOs to get only the user related data
and in EOs to store the real user name in an attribute like modifiedby/createdby
(I use Tomcats as deployment platform):
getApplicationModule().getSession().getUserData() -or-
getDBTransaction().getSession().getUserData()
Is there a better way to link own data to a 'session' on the level of business components?
Can you reproduce my results?
Ciao Markus -
Build compiz-core from ABS and disabling some plugins
Hello,
I would like to build Compiz 0.8.6 from ABS but without some plugins that I don't use. For some plugins, the configure switch
--disable-{plugin}
works, but for others it doesn't. I assume that I got the wrong name of the plugin, so I'm wondering if I can somewhere find a list off all plugins? For example, I want to disable the water and clone plugins, but
--disable-water / --disable-clone
doesn't work.
Thanks in advanceAh, I found a little list here:
http://wiki.compiz.org/Installation/Stable
That list doesn't list the other plugins though, so I guess I can't disable them :\ Can anyone confirm?
EDIT:Plugins that I can't disable for now:
Gnome Compatibility
Opacity, Brightness and Saturation (obs)
Zoom Desktop
Clone
Blur
Water
Annotate (though this one is listed on the Compiz Wiki, it won't disable)
Screenshot
PNG
SVG (though this one is listed on the Compiz Wiki, it won't disable)
Inotify (though this one is listed on the Compiz Wiki, it won't disable)
Last edited by Unia (2011-07-17 17:21:30)
Maybe you are looking for
-
Blue Ray player not working after upgrading to windows 7
I upgraded my HP Pavilion m9517c-b desktop PC bundle (part number FQ575AA) which includes: m9517c Desktop PC, part number FQ574AA# ABA to windows 7 from Vista home 64. This upgrade now prevents the HP mediasmart program to play blue ray DVD's gi
-
plz
-
Which table or view in OEM repository contains a SOAcomposite instance info
Hi All, Can anyone please tell me which table or view in OEM repository contains information about a SOA composite instance state in OEM 12c Cloud Control. Actually I want to create a report in Information Publisher displaying the SOA composite insta
-
I have a large Captivate 4 project (160 slides). I imported a PowerPoint and had Captivate add a pause button for each slide (Advance Slide On mouse click). At a later date, I decided to remove the buttons on each slide so that the project would adva
-
Possible to upgrade a G5 to Intel? or trade G5 for an Intel iMac?
I gave my wife my G5 tower (10.4.11); it's pretty beefy but increasingly the software she has is "Intel only". Is it possible to change out the motherboard and make it into an Intel (while keeping the hardware) or is that a pipe dream? If it's imposs